using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OpenAuth.Repository.Domain { [SugarTable("wf_tasklog")] public class WFTaskLog { #region 实体成员 /// /// 主键 /// [SugarColumn(IsPrimaryKey = true)] public string Id { get; set; } /// /// 流程进程主键 /// public string ProcessId { get; set; } /// /// 流程任务主键 /// public string TaskId { get; set; } /// /// 任务 token /// public string Token { get; set; } /// /// 操作码 create创建 agree 同意 disagree 不同意 timeout 超时 /// public string OperationCode { get; set; } /// /// 操作名称 /// public string OperationName { get; set; } /// /// 0.创建流程 1.审核任务 2传阅任务 3.子流程 4.重新创建 5会签任务 10.脚本任务 21.等待任务(系统自己完成)22.取消等待任务 23.找不到审核人直接跳过 24.自动审核规则跳过 25.会签任务记录 98 催办任务 99 脚本执行异常任务 100 脚本执行任务正常 101 转移任务 /// public int? TaskType { get; set; } /// /// 审核是否同意 1 是 0 不是 /// public int? IsAgree { get; set; } /// /// 流程节点ID /// public string UnitId { get; set; } /// /// 流程节点名称 /// public string UnitName { get; set; } /// /// 上一流程节点ID /// public string PrevUnitId { get; set; } /// /// 上一流程节点名称 /// public string PrevUnitName { get; set; } /// /// 创建时间 /// public DateTime? CreateDate { get; set; } /// /// 任务人Id /// public string UserId { get; set; } /// /// 任务人名称 /// public string UserName { get; set; } /// /// 备注信息 /// public string Des { get; set; } /// /// 盖章图片 /// public string StampImg { get; set; } /// /// 是否允许撤销 1 允许 0 不允许 /// public int? IsCancel { get; set; } /// /// 是否是最近一次处理 1.是 0 不是 /// public int? IsLast { get; set; } #endregion } }