using JNPF.Common.Contracts; using SqlSugar; namespace JNPF.WorkFlow.Entitys.Entity; /// /// 流程任务. /// [SugarTable("FLOW_TASK")] public class FlowTaskEntity : CLDEntityBase { /// /// 父级id. /// [SugarColumn(ColumnName = "F_PARENTID")] public string? ParentId { get; set; } /// /// 实例进程id. /// [SugarColumn(ColumnName = "F_PROCESSID")] public string? ProcessId { get; set; } /// /// 任务编码. /// [SugarColumn(ColumnName = "F_ENCODE")] public string? EnCode { get; set; } /// /// 任务标题. /// [SugarColumn(ColumnName = "F_FULLNAME")] public string? FullName { get; set; } /// /// 紧急程度. /// [SugarColumn(ColumnName = "F_FLOWURGENT")] public int? FlowUrgent { get; set; } /// /// 流程主键. /// [SugarColumn(ColumnName = "F_FLOWID")] public string? FlowId { get; set; } /// /// 流程编码. /// [SugarColumn(ColumnName = "F_FLOWCODE")] public string? FlowCode { get; set; } /// /// 流程名称. /// [SugarColumn(ColumnName = "F_FLOWNAME")] public string? FlowName { get; set; } /// /// 流程类型(0:发起流程,1:功能流程). /// [SugarColumn(ColumnName = "F_FLOWTYPE")] public int? FlowType { get; set; } /// /// 流程分类. /// [SugarColumn(ColumnName = "F_FLOWCATEGORY")] public string? FlowCategory { get; set; } /// /// 流程表单. /// [SugarColumn(ColumnName = "F_FLOWFORM")] public string? FlowForm { get; set; } /// /// 表单内容. /// [SugarColumn(ColumnName = "F_FLOWFORMCONTENTJSON")] public string? FlowFormContentJson { get; set; } /// /// 流程模板. /// [SugarColumn(ColumnName = "F_FLOWTEMPLATEJSON")] public string FlowTemplateJson { get; set; } /// /// 流程版本. /// [SugarColumn(ColumnName = "F_FLOWVERSION")] public string? FlowVersion { get; set; } /// /// 开始时间. /// [SugarColumn(ColumnName = "F_STARTTIME")] public DateTime? StartTime { get; set; } /// /// 结束时间. /// [SugarColumn(ColumnName = "F_ENDTIME")] public DateTime? EndTime { get; set; } /// /// 当前节点. /// [SugarColumn(ColumnName = "F_THISSTEP")] public string? ThisStep { get; set; } /// /// 当前节点编码. /// [SugarColumn(ColumnName = "F_THISSTEPID")] public string? ThisStepId { get; set; } /// /// 重要等级. /// [SugarColumn(ColumnName = "F_GRADE")] public string? Grade { get; set; } /// /// 任务状态:【0-草稿、1-处理、2-通过、3-驳回、4-撤销、5-终止】. /// [SugarColumn(ColumnName = "F_STATUS")] public int Status { get; set; } = 0; /// /// 完成情况(0:未完成,1:完成). /// [SugarColumn(ColumnName = "F_COMPLETION")] public int? Completion { get; set; } /// /// 描述. /// [SugarColumn(ColumnName = "F_DESCRIPTION")] public string? Description { get; set; } /// /// 排序码. /// [SugarColumn(ColumnName = "F_SORTCODE")] public long? SortCode { get; set; } /// /// 同步异步(0:同步,1:异步). /// [SugarColumn(ColumnName = "F_ISASYNC")] public int? IsAsync { get; set; } /// /// 是否批量(0:否,1:是). /// [SugarColumn(ColumnName = "F_ISBATCH")] public int? IsBatch { get; set; } /// /// 复活节点主键. /// [SugarColumn(ColumnName = "F_TASKNODEID")] public string? TaskNodeId { get; set; } /// /// 流程主表主键. /// [SugarColumn(ColumnName = "F_TEMPLATEID")] public string? TemplateId { get; set; } /// /// 拒绝节点id(当前节点审批). /// [SugarColumn(ColumnName = "F_REJECTDATAID")] public string? RejectDataId { get; set; } /// /// 委托发起人. /// [SugarColumn(ColumnName = "F_DELEGATEUSER")] public string? DelegateUser { get; set; } /// /// 挂起(0:否,1:是). /// [SugarColumn(ColumnName = "F_Suspend")] public int? Suspend { get; set; } }