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