using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.TaskPlat.Entity { /// /// 任务分配设置表 /// [SugarTable("task_allocation_set", "任务分配设置表")] public class TaskAllocationtSet : BaseModelV2 { /// /// 任务类型编码 /// [SugarColumn(ColumnDescription = "任务类型编码", IsNullable = false, Length = 40)] public string TaskTypeCode { get; set; } /// /// 任务类型名称 /// [SugarColumn(ColumnDescription = "任务类型名称", IsNullable = false, Length = 40)] public string TaskTypeName { get; set; } /// /// 船公司ID /// [SugarColumn(ColumnDescription = "船公司ID", IsNullable = true)] public long? CarrierId { get; set; } /// /// 船公司代码 /// [SugarColumn(ColumnDescription = "船公司代码", IsNullable = true, Length = 20)] public string? CarrierCode { get; set; } /// /// 船公司 /// [SugarColumn(ColumnDescription = "船公司", IsNullable = true, Length = 20)] public string? Carrier { get; set; } /// /// 是否分配至操作 /// [SugarColumn(ColumnDescription = "是否分配至操作", IsNullable = false)] public bool IsAllotOperator { get; set; } /// /// 是否分配至单证 /// [SugarColumn(ColumnDescription = "是否分配至单证", IsNullable = false)] public bool IsAllotVouchingClerk { get; set; } /// /// 是否分配至销售 /// [SugarColumn(ColumnDescription = "是否分配至销售", IsNullable = false)] public bool IsAllotSale { get; set; } /// /// 是否分配至客服 /// [SugarColumn(ColumnDescription = "是否分配至客服", IsNullable = false)] public bool IsAllotCustomerService { get; set; } /// /// 分配至指定角色的角色Id列表 /// [SugarColumn(ColumnDescription = "分配至指定角色的角色Id列表", IsNullable = true, Length = 4000)] public string? RoleIds { get; set; } /// /// 匹配条件 /// [SugarColumn(ColumnDescription = "匹配条件", IsNullable = true, Length = 4000)] public string? Condition { get; set; } ///// ///// 是否分配至报关员 ///// //[SugarColumn(ColumnDescription = "是否分配至报关员", IsNullable = false)] //public bool IsAllotCustom { get; set; } ///// ///// 是否分配至财务 ///// //[SugarColumn(ColumnDescription = "是否分配至财务", IsNullable = false)] //public bool IsAllotFinancialStaff { get; set; } ///// ///// 是否分配至司机 ///// //[SugarColumn(ColumnDescription = "是否分配至司机", IsNullable = false)] //public bool IsAllotDriver { get; set; } ///// ///// 是否分配至派车调度人员 ///// //[SugarColumn(ColumnDescription = "是否分配至派车调度人员", IsNullable = false)] //public bool IsAllotDispatcher { get; set; } } }