using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.TaskInteraction.Entity { /// /// 交互任务配置表 /// [SugarTable("business_task_config", "交互任务配置表")] public class BusinessTaskConfig : BaseModelV2 { /// /// 任务类型 /// [SugarColumn(IsPrimaryKey = true, ColumnDescription = "任务类型", IsNullable = false)] public TaskBaseTypeEnum TaskType { get; set; } /// /// 数据源名称 /// [SugarColumn(ColumnDescription = "数据源名称", IsNullable = false)] public string SourceName { get; set; } = string.Empty; /// /// 匹配条件 /// [SugarColumn(ColumnDescription = "匹配条件", IsNullable = false)] public string MatchCondition { get; set; } = string.Empty; /// /// 是否跳过执行 /// [SugarColumn(ColumnDescription = "是否跳过执行", DefaultValue = "0")] public bool IsSkip { get; set; } /// /// 是否同步完成 /// [SugarColumn(ColumnDescription = "是否同步完成", DefaultValue = "0")] public bool IsSynchronizationComplete { get; set; } } }