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
{
///
/// 表头
///
public TrackingMessageHeadInfo Head { get; set; }
///
/// 表体
///
public TrackingMessageQueryMainInfo Main { get; set; }
}
public class TrackingMessageQueryMainInfo
{
///
/// 服务项目代码
///
public List ServiceProjectCodeList { get; set; }
///
/// 业务系统代码
///
[Required(ErrorMessage = "必填")]
public string BusiSystemCode { get; set; }
///
/// 业务主键
///
public string BusiId { get; set; }
///
/// 提单号
///
public string MBlNo { get; set; }
///
/// 船名航次
///
public string VesselVoyno { get; set; }
///
/// 订舱编号
///
public string OrderNo { get; set; }
///
/// 查询类型
///
public TrackingQueryTypeEnum QueryType { get; set; }
///
/// 查询服务项目代码
///
public string[] QueryServiceProjectCode { get; set; }
///
/// 租户ID
///
public string TenantId { get; set; }
///
/// 租户名称
///
public string TenantName { get; set; }
///
/// 强制刷新缓存
///
public bool IsReloadCache { get; set; } = false;
}
public class TrackingQueryBatchMessageInfo
{
///
/// 表头
///
public TrackingMessageHeadInfo Head { get; set; }
///
/// 表体
///
public TrackingMessageQueryBatchMainInfo Main { get; set; }
}
///
/// 表体
///
public class TrackingMessageQueryBatchMainInfo
{
///
/// 服务项目代码
///
public List ServiceProjectCodeList { get; set; }
///
/// 业务系统代码
///
[Required(ErrorMessage = "必填")]
public string BusiSystemCode { get; set; }
///
/// 业务主键
///
public List BusiIds { get; set; }
///
/// 查询类型
///
public TrackingQueryTypeEnum QueryType { get; set; }
///
/// 查询服务项目代码
///
public string[] QueryServiceProjectCode { get; set; }
///
/// 租户ID
///
public string TenantId { get; set; }
///
/// 租户名称
///
public string TenantName { get; set; }
///
/// 强制刷新缓存
///
public bool IsReloadCache { get; set; } = false;
}
}