You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.4 KiB
C#

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