using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.TaskPlat.Entity { /// /// 任务编排流程表 /// [SugarTable("task_flow_config", "任务编排流程表")] public class TaskFlowConfig : BaseModelV2 { /// /// 流程名称 /// [SugarColumn(ColumnDescription = "流程名称", IsNullable = true, Length = 64)] public string? Name { get; set; } /// /// 所属任务类型 /// [SugarColumn(ColumnDescription = "所属任务类型", IsNullable = true, Length = 255)] public string? TaskType { get; set; } /// /// 是否为主入口流程 /// [SugarColumn(ColumnDescription = "是否为主入口流程", IsNullable = false, Length = 1)] public bool IsMain { get; set; } /// /// 执行模块主键 /// [SugarColumn(ColumnDescription = "执行模块主键", IsNullable = true)] public long? ExecuteModuleId { get; set; } /// /// 所属主入口流程主键 /// [SugarColumn(ColumnDescription = "所属主入口流程主键", IsNullable = true)] public long? MainConfigId { get; set; } /// /// 下一流程主键列表(使用,分隔) /// [SugarColumn(ColumnDescription = "下一流程主键", IsNullable = true, Length = 255)] public string? NextConfigId { get; set; } /// /// 当执行过程中发生异常时是否继续执行下一个节点 /// [SugarColumn(ColumnDescription = "当执行过程中发生异常时是否继续执行下一个节点", IsNullable = false, Length = 1)] public bool IsExceptionContinue { get; set; } /// /// 当无匹配的执行流程时是否作为默认的执行流程 /// [SugarColumn(ColumnDescription = "当无匹配的执行流程时是否作为默认的执行流程", IsNullable = false, Length = 1)] public bool IsUnMatchDefault { get; set; } } }