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