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