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.

158 lines
4.3 KiB
C#

using SqlSugar;
namespace DS.WMS.Core.TaskPlat.Dtos
{
public class TaskAllocationtSetSaveDto
{
/// <summary>
/// 分配对象编码 Operator=操作 VouchingClerk=单证 Sale=销售 Custom=报关员 FinancialStaff=财务 CustomerService=客服 Driver=司机 Dispatcher=派车调度人员
/// </summary>
public string AllocationTargetCode { get; set; }
/// <summary>
/// 船公司ID
/// </summary>
public long? CarrierId { get; set; }
/// <summary>
/// 船公司代码
/// </summary>
public string? CarrierCode { get; set; }
/// <summary>
/// 船公司
/// </summary>
public string? Carrier { get; set; }
/// <summary>
/// 任务类型列表
/// </summary>
public List<TaskTypeInfoDto> TaskTypeList { get; set; }
}
public class TaskAllocationtSetQueryListDto
{
///// <summary>
///// 船公司ID
///// </summary>
//public long? CarrierId { get; set; }
///// <summary>
///// 船公司代码
///// </summary>
//public string? CarrierCode { get; set; }
///// <summary>
///// 船公司
///// </summary>
//public string? Carrier { get; set; }
public List<TaskTypeInfoDto> OperatorTaskTypeList { get; set; }
public List<TaskTypeInfoDto> VouchingClerkTaskTypeList { get; set; }
public List<TaskTypeInfoDto> SaleTaskTypeList { get; set; }
public List<TaskTypeInfoDto> CustomTaskTypeList { get; set; }
public List<TaskTypeInfoDto> FinancialStaffTaskTypeList { get; set; }
public List<TaskTypeInfoDto> CustomerServiceTaskTypeList { get; set; }
public List<TaskTypeInfoDto> DriverTaskTypeList { get; set; }
public List<TaskTypeInfoDto> DispatcherTaskTypeList { get; set; }
}
public class TaskAllocationtSetDto
{
public long Id { get; set; }
/// <summary>
/// 任务类型编码
/// </summary>
public string TaskTypeCode { get; set; }
/// <summary>
/// 任务类型名称
/// </summary>
public string TaskTypeName { get; set; }
/// <summary>
/// 船公司ID
/// </summary>
public long? CarrierId { get; set; }
/// <summary>
/// 船公司代码
/// </summary>
public string? CarrierCode { get; set; }
/// <summary>
/// 船公司
/// </summary>
public string? Carrier { get; set; }
/// <summary>
/// 是否分配至操作
/// </summary>
public bool IsAllotOperator { get; set; }
/// <summary>
/// 是否分配至单证
/// </summary>
public bool IsAllotVouchingClerk { get; set; }
/// <summary>
/// 是否分配至销售
/// </summary>
public bool IsAllotSale { get; set; }
/// <summary>
/// 是否分配至客服
/// </summary>
public bool IsAllotCustomerService { get; set; }
///// <summary>
///// 是否分配至报关员
///// </summary>
//public bool IsAllotCustom { get; set; }
///// <summary>
///// 是否分配至财务
///// </summary>
//public bool IsAllotFinancialStaff { get; set; }
///// <summary>
///// 是否分配至司机
///// </summary>
//public bool IsAllotDriver { get; set; }
///// <summary>
///// 是否分配至派车调度人员
///// </summary>
//public bool IsAllotDispatcher { get; set; }
}
public class TaskTypeInfoDto
{
/// <summary>
/// 任务类型编码
/// </summary>
public string TaskTypeCode { get; set; }
/// <summary>
/// 任务类型名称
/// </summary>
public string TaskTypeName { get; set; }
}
public class CarrierInfoDto
{
/// <summary>
/// 船公司ID
/// </summary>
public long? CarrierId { get; set; }
/// <summary>
/// 船公司代码
/// </summary>
public string? CarrierCode { get; set; }
/// <summary>
/// 船公司
/// </summary>
public string? Carrier { get; set; }
}
}