|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Op.Dtos
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订阅的列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class BillTraceReq
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BusinessId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提单号,例:ONEYTA3ZR0262300
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 场站名称,例:外运场站
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string YARD { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 场站代码,例:WYCZ
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string YardCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司代号,例:ONE
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CARRIERID { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司名称,例:ONE
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CARRIER { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否订阅港后的运踪,默认为false
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool isBook { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否订阅港前运踪,默认为true
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsFrontPort { get; set; }
|
|
|
|
|
}
|
|
|
|
|
public class BillTraceMain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 接口调用授权Key(用于运踪模块接口鉴权)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 接口调用授权密钥 (用于运踪模块接口鉴权)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PWD { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作人员信息的主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Gid { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运踪信息回推时的调用地址,如http://40.147.147.147:22222/DataSync/AddBookingStatusLog
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string url { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订阅的列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<BillTraceReq> Children { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运踪信息回推时的授权Key(用于对接方接口鉴权)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PushBackKey { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运踪信息回推时的授权Secret(用于对接方接口鉴权)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PushBackSecret { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运踪退订-调用大简云运踪模块的Dto类
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class BillTraceUnsubscribeDto
|
|
|
|
|
{
|
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
|
|
|
|
|
public string PWD { get; set; }
|
|
|
|
|
public string Gid { get; set; }
|
|
|
|
|
public List<BillTraceUnsubscribeList> Children { get; set; }
|
|
|
|
|
}
|
|
|
|
|
public class BillTraceUnsubscribeList
|
|
|
|
|
{
|
|
|
|
|
public BillTraceUnsubscribeList()
|
|
|
|
|
{ }
|
|
|
|
|
public BillTraceUnsubscribeList(string businessId, string mBLNO)
|
|
|
|
|
{
|
|
|
|
|
BusinessId = businessId;
|
|
|
|
|
MBLNO = mBLNO;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public string BusinessId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|