79 lines
2.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Learun.Application.WorkFlow
{
/// <summary>
/// 版 本 PIT-ADMS V7.0.3 敏捷开发框架
/// Copyright (c) 2013-2018 Hexagon PPM
/// 创建人:研发部
/// 日 期2018.12.06
/// 描 述:工作流会签计算(新)
/// </summary>
[SugarTable(TableName = "LR_NWF_CONFLUENCE")]
public class NWFConfluenceEntity
{
#region
/// <summary>
/// 主键
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_ID", IsPrimaryKey = true)]
public string F_Id { get; set; }
/// <summary>
/// 流程进程主键
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_PROCESSID")]
public string F_ProcessId { get; set; }
/// <summary>
/// 会签节点ID
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_NODEID")]
public string F_NodeId { get; set; }
/// <summary>
/// 上一节点ID
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_FORMNODEID")]
public string F_FormNodeId { get; set; }
/// <summary>
/// 状态1同意0不同意
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_STATE")]
public int? F_State { get; set; }
#endregion
#region
/// <summary>
/// 新增调用
/// </summary>
public void Create()
{
this.F_Id = Guid.NewGuid().ToString();
}
/// <summary>
/// 编辑调用
/// </summary>
/// <param name="keyValue"></param>
public void Modify(string keyValue)
{
this.F_Id = keyValue;
}
#endregion
/// <summary>
/// 是否清除之前审核信息
/// </summary>
[SugarColumn(IsIgnore = true)]
public bool isClear { get; set; }
/// <summary>
/// 会签审核结果 1 通过 -1 不通过
/// </summary>
[SugarColumn(IsIgnore = true)]
public int confluenceRes { get; set; }
}
}