using System; using SqlSugar; namespace Magic.FlowCenter.Entity; /// /// 工作流实例流转历史记录 /// [Tenant("1")] [SugarTable("flc_flowinstancehis")] public class FlcFlowInstanceTransitionHistory : PrimaryKeyEntity { /// /// 实例Id /// [SugarColumn(IsNullable = false,ColumnDescription = "实例Id")] public long InstanceId { get; set; } /// /// 开始节点Id /// [SugarColumn(IsNullable = true, ColumnDescription = "开始节点Id")] public string FromNodeId { get; set; } /// /// 开始节点类型 /// [SugarColumn(IsNullable = true, ColumnDescription = "开始节点类型")] public int? FromNodeType { get; set; } /// /// 开始节点名称 /// [SugarColumn(IsNullable = true, ColumnDescription = "开始节点名称")] public string FromNodeName { get; set; } /// /// 结束节点Id /// [SugarColumn(IsNullable = true, ColumnDescription = "结束节点Id")] public string ToNodeId { get; set; } /// /// 结束节点类型 /// [SugarColumn(IsNullable = true, ColumnDescription = "结束节点类型")] public int? ToNodeType { get; set; } /// /// 结束节点名称 /// [SugarColumn(IsNullable = true, ColumnDescription = "结束节点名称")] public string ToNodeName { get; set; } /// /// 转化状态 /// [SugarColumn(IsNullable = false, ColumnDescription = "转化状态")] public bool TransitionSate { get; set; } /// /// 是否结束 /// [SugarColumn(IsNullable = false,ColumnDescription = "是否结束")] public bool IsFinish { get; set; } /// /// 转化时间 /// [SugarColumn(IsNullable = false, ColumnDescription = "转化时间")] public DateTime CreatedTime { get; set; } /// /// 创建用户主键 /// [SugarColumn(IsNullable = true, ColumnDescription = "创建用户主键")] public long CreatedUserId { get; set; } /// /// 创建用户 /// [SugarColumn(IsNullable = true,ColumnDescription = "创建用户")] public string CreatedUserName { get; set; } }