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