using Myshipping.Application.Entity; using Myshipping.Application.Service.BookingOrder.Dto; using Myshipping.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Myshipping.Application { public class BookingCustomerOrderQueryInput : PageInputBase { /// /// 系统编号(订舱编号) /// public string BOOKINGNO { get; set; } /// /// 船名 /// public string VESSEL { get; set; } /// /// 海关航次 /// public string VOYNO { get; set; } /// /// 场站代码 /// public string YARDID { get; set; } /// /// 场站 /// public string YARD { get; set; } /// /// 开船日期起始 /// public DateTime? ETDStart { get; set; } /// /// 开船日期截止 /// public DateTime? ETDEnd { get; set; } /// /// 卸货港代码 /// public string PORTDISCHARGEID { get; set; } /// /// 卸货港 /// public string PORTDISCHARGE { get; set; } /// /// 船公司代号 /// public string CARRIERID { get; set; } /// /// 船公司 /// public string CARRIER { get; set; } /// /// 录入日期起始 /// public DateTime? CreatedTimeStart { get; set; } /// /// 录入日期截止 /// public DateTime? CreatedTimeEnd { get; set; } /// /// 修改日期起始 /// public DateTime? UpdateTimeStart { get; set; } /// /// 修改日期截止 /// public DateTime? UpdateTimeEnd { get; set; } /// /// 业务状态 /// public List BSStatusList { get; set; } /// /// 订舱租户名称 /// public string BookingTenantName { get; set; } } //dto public class BookingCustomerOrderDto { /// /// 主键 /// public long Id { get; set; } /// /// 船名 /// public string VESSEL { get; set; } /// /// 海关航次 /// public string VOYNO { get; set; } /// /// 内部航次 /// public string VOYNOINNER { get; set; } /// /// 场站代码 /// public string YARDID { get; set; } /// /// 场站 /// public string YARD { get; set; } /// /// 开船日期 /// public DateTime? ETD { get; set; } /// /// 合约号 /// public string CONTRACTNO { get; set; } /// /// 发货人 /// public string SHIPPER { get; set; } /// /// 收货人 /// public string CONSIGNEE { get; set; } /// /// 通知人 /// public string NOTIFYPARTY { get; set; } /// /// 第二通知人 /// public string NOTIFYPARTY2 { get; set; } /// /// 起运港代码 /// public string PORTLOADID { get; set; } /// /// 起运港 /// public string PORTLOAD { get; set; } /// /// 卸货港代码 /// public string PORTDISCHARGEID { get; set; } /// /// 卸货港 /// public string PORTDISCHARGE { get; set; } /// /// 运输条款 /// public string SERVICE { get; set; } /// /// 付费方式 /// public string BLFRT { get; set; } /// /// HS代码 /// public string HSCODE { get; set; } /// /// 货描 /// public string DESCRIPTION { get; set; } /// /// 件数 /// public int? PKGS { get; set; } /// /// 包装 /// public string KINDPKGS { get; set; } /// /// 毛重 /// public decimal? KGS { get; set; } /// /// 尺码 /// public decimal? CBM { get; set; } /// /// 件数大写 /// public string TOTALNO { get; set; } /// /// 集装箱 /// public string CNTRTOTAL { get; set; } /// /// 船公司代号 /// public string CARRIERID { get; set; } /// /// 船公司 /// public string CARRIER { get; set; } /// /// 货物标识 /// public string CARGOID { get; set; } /// /// 危险品类别 /// public string DCLASS { get; set; } /// /// 危险品编号 /// public string DUNNO { get; set; } /// /// 危险品页号 /// public string DPAGE { get; set; } /// /// 危险品标签 /// public string DLABEL { get; set; } /// /// 危险品联系人 /// public string LINKMAN { get; set; } /// /// 危险品联系电话 /// public string DTEL { get; set; } /// /// 温度单位 /// public string TEMPID { get; set; } /// /// 设置温度 /// public string TEMPSET { get; set; } /// /// 通风度 /// public string REEFERF { get; set; } /// /// 湿度 /// public string HUMIDITY { get; set; } /// /// 最低温度 /// public string TEMPMIN { get; set; } /// /// 最高温度 /// public string TEMPMAX { get; set; } /// /// 订舱要求 /// public string SOREMARK { get; set; } } //保存dto public class BookingCustomerOrderSaveInput : BookingCustomerOrderDto { /// /// 上传还未保存的文件 /// public List TempFileNames { get; set; } /// /// 已保存过的需要保留的文件 /// public List Files { get; set; } /// /// 箱信息 /// public List CtnList { get; set; } /// /// 服务项目 /// public List ServiceItemList { get; set; } } //台账返回dto public class BookingCustomerOrderListOutput : BookingCustomerOrderDto { /// /// 系统编号 /// public string BOOKINGNO { get; set; } /// /// 业务状态 /// public string BSSTATUS { get; set; } /// /// 订舱租户名称 /// public string BookingTenantName { get; set; } /// /// 订舱用户名称 /// public string BookingUserName { get; set; } /// /// 创建时间 /// public string CreatedTime { get; set; } /// /// 更新时间 /// public string UpdatedTime { get; set; } /// /// 日志信息 /// public List LogList { get; set; } } //保存返回dto public class BookingCustomerOrderSaveOutput : BookingCustomerOrderDto { /// /// 系统编号 /// public string BOOKINGNO { get; set; } /// /// 业务状态 /// public string BSSTATUS { get; set; } /// /// 订舱租户名称 /// public string BookingTenantName { get; set; } /// /// 订舱用户名称 /// public string BookingUserName { get; set; } /// /// 创建时间 /// public string CreatedTime { get; set; } /// /// 更新时间 /// public string UpdatedTime { get; set; } /// /// 文件列表 /// public Dictionary Files { get; set; } /// /// 箱信息 /// public List CtnList { get; set; } /// /// 日志信息 /// public List LogList { get; set; } /// /// 服务项目 /// public List ServiceItemList { get; set; } } /// /// 箱信息dto /// public class BookingCustomerCtnDto { /// /// 主键 /// public long? Id { get; set; } /// /// 箱型代码 /// public string CTNCODE { get; set; } /// /// 箱型 /// public string CTNALL { get; set; } /// /// 箱量 /// public int? CTNNUM { get; set; } } /// /// 日志信息dto /// public class BookingCustomerLogDto { /// /// 状态 /// public string Status { get; set; } /// /// 状态时间 /// public DateTime? OpTime { get; set; } /// /// 创建者名称 /// public virtual string CreatedUserName { get; set; } } /// /// 大简云客户订舱发送与接收dto /// public class BookingCustomerSubmitReceiveDto : BookingCustomerOrderDto { /// /// 系统编号(订舱编号) /// public string BOOKINGNO { get; set; } /// /// 订舱租户id /// public long BookingTenantId { get; set; } /// /// 订舱租户名称 /// public string BookingTenantName { get; set; } /// /// 订舱租户大简云公司id /// public string BookingCompanyId { get; set; } /// /// 订舱用户id /// public long BookingUserId { get; set; } /// /// 订舱用户名称 /// public string BookingUserName { get; set; } /// /// 订舱大简云用户id /// public string BookingDjyUserId { get; set; } /// /// 文件列表(key:文件名称,value:文件内容base64) /// public Dictionary Files { get; set; } /// /// 箱信息 /// public List CtnList { get; set; } /// /// 服务项目 /// public List ServiceItemList { get; set; } } /// /// 大简云取消提交订舱dto /// public class BookingCustomerCancelSubmitDto { /// /// 主键 /// public long Id { get; set; } /// /// 系统编号(订舱编号) /// public string BOOKINGNO { get; set; } } /// /// 提交订舱返回对象 /// public class BookingSubmitResultModel { /// /// ID /// public long Id { get; set; } /// /// 客户订舱系统中的订舱编号 /// public string BOOKINGNO { get; set; } /// /// 是否成功 /// public bool Success { get; set; } /// /// 消息内容 /// public string Message { get; set; } } /// /// 服务项目 /// public class BookingServiceItemCustomerDto { /// /// 状态代码 /// public string Code { get; set; } /// /// 状态名称 /// public string Value { get; set; } } /// /// 接收(发送)客户订舱审核结果 /// public class BookingCustomerRecAduitFeedbackDto { /// /// 客户订舱系统中的ID /// public string Id { get; set; } /// /// 是否接收订舱 /// public bool Accept { get; set; } /// /// 审核意见 /// public string Comment { get; set; } } /// /// 接收(发送)订舱反馈数据 /// public class BookingCustomerRecDataFeedbackDto { /// /// 订舱主信息 /// public BookingOrderSyncCustomerDto Order { get; set; } /// /// 箱信息 /// public List Ctns { get; set; } /// /// 文件信息 /// public List Files { get; set; } /// /// 货运动态 /// public List StatusLogs { get; set; } } /// /// 客户订舱模板查询条件 /// public class BookingCustomerTemplateQueryInput : PageInputBase { /// /// 标题 /// public string Title { get; set; } } /// /// 客户订舱模板查询返回 /// public class BookingCustomerTemplateQueryOutput { /// /// ID /// public long Id { get; set; } /// /// 单据ID /// public long OrderId { get; set; } /// /// 标题 /// public string Title { get; set; } } }