using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Myshipping.Application { /// /// 内嵌服务项目请求 /// public class EmbedServiceProjectDto { /// /// 业务主键 /// public string businessId { get; set; } /// /// 服务项目代码 /// public string[] ProjectCodes { get; set; } /// /// 状态操作类型 MANUAL-手工 AUTO-自动 /// public TrackingOperTypeEnum OpertType { get; set; } } /// /// 修改服务项目状态 /// public class EmbedServiceProjectStatusDto { /// /// 业务主键 /// public string businessId { get; set; } /// /// 来源类型 /// public TrackingSourceTypeEnum SourceType { get; set; } = TrackingSourceTypeEnum.MANUAL; /// /// 服务项目状态明细 /// public List StatusCodes { get; set; } } public class EmbedServiceProjectStatusDetailDto { /// /// 状态代码 /// public string StatusCode { get; set; } /// /// 人工设定状态完成时间 /// public Nullable SetActDate { get; set; } /// /// 人工设定状态值(可传箱使天数) /// public string SetActVal { get; set; } /// /// 状态备注 /// public string ActRemark { get; set; } } public class EmbedQueryServiceProjectWithStatus { /// /// 业务主键(可为空,不为空时需要查询已触发的记录和未触发的记录,为空时只查询已启用的) /// public string businessId { get; set; } /// /// 0-查服务项目 1-查服务项目下的状态 /// public TrackingQueryTypeEnum QueryType { get; set; } /// /// 服务项目代码组 /// public string[] ProjectCodes { get; set; } /// /// 租户ID /// public long TenantId { get; set; } } }