using System.ComponentModel; using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Flow.Entity; /// /// 工作流实例 /// [SqlSugar.SugarTable("sys_flow_instance")] public class FlowInstance: BaseTenantModel { /// /// 业务Id /// [Description("业务Id")] public long BusinessId { get; set; } /// /// 模板Id /// [Description("模板Id")] public long? TemplateId { get; set; } /// /// 客户自定义名称 /// [Description("客户自定义名称")] public string CustomName { get; set; } /// /// 模块Id /// [Description("模块Id")] public long PermissionId { get; set; } /// /// 当前节点ID /// [Description("当前节点ID")] public string ActivityId { get; set; } = ""; /// /// 当前节点类型(0会签节点) /// [Description("当前节点类型(0会签节点)")] public int? ActivityType { get; set; } /// /// 当前节点名称 /// [Description("当前节点名称")] public string ActivityName { get; set; } /// /// 前一个ID /// [Description("前一个ID")] public string PreviousId { get; set; } /// /// 执行人 /// [Description("执行人")] public string MakerList { get; set; } /// /// 工作流状态 /// [Description("工作流状态")] public int FlowStatus { get; set; } = FlowStatusEnum.Ready.ToEnumInt(); /// /// 中文视图名;设计方案时,提供中文字段的视图来源 /// [Description("中文视图名;设计方案时,提供中文字段的视图来源")] public string ColumnView { get; set; } /// /// 流程内容 /// [SugarColumn(ColumnDescription = "流程内容", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)] public string Content { get; set; } }