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.
BookingHeChuan/Myshipping.Application/Service/TrackingSystem/Dtos/TrackingQueryMessageInfo.cs

144 lines
3.4 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
public class TrackingQueryMessageInfo
{
/// <summary>
/// 表头
/// </summary>
public TrackingMessageHeadInfo Head { get; set; }
/// <summary>
/// 表体
/// </summary>
public TrackingMessageQueryMainInfo Main { get; set; }
}
public class TrackingMessageQueryMainInfo
{
/// <summary>
/// 服务项目代码
/// </summary>
public List<string> ServiceProjectCodeList { get; set; }
/// <summary>
/// 业务系统代码
/// </summary>
[Required(ErrorMessage = "必填")]
public string BusiSystemCode { get; set; }
/// <summary>
/// 业务主键
/// </summary>
public string BusiId { get; set; }
/// <summary>
/// 提单号
/// </summary>
public string MBlNo { get; set; }
/// <summary>
/// 船名航次
/// </summary>
public string VesselVoyno { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string OrderNo { get; set; }
/// <summary>
/// 查询类型
/// </summary>
public TrackingQueryTypeEnum QueryType { get; set; }
/// <summary>
/// 查询服务项目代码
/// </summary>
public string[] QueryServiceProjectCode { get; set; }
/// <summary>
/// 租户ID
/// </summary>
public string TenantId { get; set; }
/// <summary>
/// 租户名称
/// </summary>
public string TenantName { get; set; }
/// <summary>
/// 强制刷新缓存
/// </summary>
public bool IsReloadCache { get; set; } = false;
}
public class TrackingQueryBatchMessageInfo
{
/// <summary>
/// 表头
/// </summary>
public TrackingMessageHeadInfo Head { get; set; }
/// <summary>
/// 表体
/// </summary>
public TrackingMessageQueryBatchMainInfo Main { get; set; }
}
/// <summary>
/// 表体
/// </summary>
public class TrackingMessageQueryBatchMainInfo
{
/// <summary>
/// 服务项目代码
/// </summary>
public List<string> ServiceProjectCodeList { get; set; }
/// <summary>
/// 业务系统代码
/// </summary>
[Required(ErrorMessage = "必填")]
public string BusiSystemCode { get; set; }
/// <summary>
/// 业务主键
/// </summary>
public List<string> BusiIds { get; set; }
/// <summary>
/// 查询类型
/// </summary>
public TrackingQueryTypeEnum QueryType { get; set; }
/// <summary>
/// 查询服务项目代码
/// </summary>
public string[] QueryServiceProjectCode { get; set; }
/// <summary>
/// 租户ID
/// </summary>
public string TenantId { get; set; }
/// <summary>
/// 租户名称
/// </summary>
public string TenantName { get; set; }
/// <summary>
/// 强制刷新缓存
/// </summary>
public bool IsReloadCache { get; set; } = false;
}
}