|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ESL Draft下载请求
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ESLDraftRequestDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ESL账户
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string u { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ESL密码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string p { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ep号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ep_code { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作邮箱 会把Draft文件转发到此邮箱,建议默认不传
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string op_email { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ESLDraftAPIBaseResult: ESLAPIBaseResult
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ESLDraftAPIBaseResultData data { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ESLAPIBaseResult
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 回执代码 1-成功 0-失败
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 消息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string message { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ESLDraftAPIBaseResultData
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// NAS路径
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string abs_path { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Nginx代理的路径
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string api_path { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ESL舱位分配请求
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ESLManiAlloChkRequestDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ESL账户
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string u { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ESL密码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string p { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ep号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string so_no { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ESLManiAlloChkAPIBaseResult: ESLAPIBaseResult
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ESLManiAlloChkAPIBaseResultData data { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ESLManiAlloChkAPIBaseResultData
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ESL号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string esl_no { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 在线参考号(SO中的自编号)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ref_no { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bk_no { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string pol { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string pod { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// POL ETD
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string pol_etd { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// BL状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bl_status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 集装箱号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string container_no { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最新活动
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string new_activity { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// TEUs计数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string teus { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|