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 long Id { get; set; }
///
/// 系统编号(订舱编号)
///
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; }
///
/// 箱长
///
public decimal CtrnLength { get; set; }
///
/// 箱宽
///
public decimal CtrnWidth { get; set; }
///
/// 箱高
///
public decimal CtrnHeight { get; set; }
///
/// 销售代码
///
public string SaleCode { get; set; }
///
/// 操作备注
///
public string CZRemark { get; set; }
///
/// 目的地代码
///
public string DESTINATIONID { get; set; }
///
/// 目的地
///
public string DESTINATION { get; set; }
///
/// 起运港唯一代码
///
public string PORTLOADCODE { get; set; }
///
/// 目的港唯一代码
///
public string PORTDISCHARGECODE { get; set; }
///
/// 目的地唯一代码
///
public string DESTINATIONCODE { get; set; }
///
/// 付费方式代码
///
public string FRTCODE { get; set; }
///
/// 运输条款代码
///
public string SERVICECODE { get; set; }
///
/// 船公司航线代码
///
public string LANECODE { get; set; }
///
/// 发货人名称
///
public string ShipperName { get; set; }
///
/// 发货人地址
///
public string ShipperAddress { get; set; }
///
/// 发货人国家
///
public string ShipperCountry { get; set; }
///
/// 发货人省份
///
public string ShipperProvince { get; set; }
///
/// 发货人城市
///
public string ShipperCity { get; set; }
///
/// 发货人区县
///
public string ShipperCounty { get; set; }
///
/// 发货人邮政编码
///
public string ShipperPostCode { get; set; }
///
/// 发货人联系人名
///
public string ShipperFirstName { get; set; }
///
/// 发货人联系人姓
///
public string ShipperLastName { get; set; }
///
/// 发货人电话国家代码
///
public string ShipperPhoneCountryCode { get; set; }
///
/// 发货人电话区号
///
public string ShipperPhoneCode { get; set; }
///
/// 发货人电话
///
public string ShipperPhone { get; set; }
///
/// 发货人分机号
///
public string ShipperPhoneExtension { get; set; }
///
/// 收货人名称
///
public string ConsigneeName { get; set; }
///
/// 收货人地址
///
public string ConsigneeAddress { get; set; }
///
/// 收货人国家
///
public string ConsigneeCountry { get; set; }
///
/// 收货人省份
///
public string ConsigneeProvince { get; set; }
///
/// 收货人城市
///
public string ConsigneeCity { get; set; }
///
/// 收货人区县
///
public string ConsigneeCounty { get; set; }
///
/// 收货人邮政编码
///
public string ConsigneePostCode { get; set; }
///
/// 收货人联系人名
///
public string ConsigneeFirstName { get; set; }
///
/// 收货人联系人姓
///
public string ConsigneeLastName { get; set; }
///
/// 收货人电话国家代码
///
public string ConsigneePhoneCountryCode { get; set; }
///
/// 收货人电话区号
///
public string ConsigneePhoneCode { get; set; }
///
/// 收货人电话
///
public string ConsigneePhone { get; set; }
///
/// 收货人分机号
///
public string ConsigneePhoneExtension { get; set; }
///
/// 通知人名称
///
public string NotifypartName { get; set; }
///
/// 通知人地址
///
public string NotifypartAddress { get; set; }
///
/// 通知人国家
///
public string NotifypartCountry { get; set; }
///
/// 通知人省份
///
public string NotifypartProvince { get; set; }
///
/// 通知人城市
///
public string NotifypartCity { get; set; }
///
/// 通知人区县
///
public string NotifypartCounty { get; set; }
///
/// 通知人邮政编码
///
public string NotifypartPostCode { get; set; }
///
/// 通知人联系人名
///
public string NotifypartFirstName { get; set; }
///
/// 通知人联系人姓
///
///
/// 通知人电话国家代码
///
public string NotifypartPhoneCountryCode { get; set; }
///
/// 通知人电话区号
///
public string NotifypartPhoneCode { get; set; }
///
/// 通知人电话
///
public string NotifypartPhone { get; set; }
///
/// 通知人分机号
///
public string NotifypartPhoneExtension { get; set; }
///
/// 订舱公司名称
///
public string BookingName { get; set; }
///
/// 订舱公司地址
///
public string BookingAddress { get; set; }
///
/// 订舱公司国家
///
public string BookingCountry { get; set; }
///
/// 订舱公司省份
///
public string BookingProvince { get; set; }
///
/// 订舱公司城市
///
public string BookingCity { get; set; }
///
/// 订舱公司区县
///
public string BookingCounty { get; set; }
///
/// 订舱公司邮政编码
///
public string BookingPostCode { get; set; }
///
/// 订舱公司联系人名
///
public string BookingFirstName { get; set; }
///
/// 订舱公司联系人姓
///
public string BookingLastName { get; set; }
///
/// 订舱公司电话国家代码
///
public string BookingPhoneCountryCode { get; set; }
///
/// 订舱公司电话区号
///
public string BookingPhoneCode { get; set; }
///
/// 订舱公司电话
///
public string BookingPhone { get; set; }
///
/// 订舱公司分机号
///
public string BookingPhoneExtension { 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 string ExtendData { 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; }
///
/// 毛重
///
public decimal? KGS { get; set; }
///
/// 备注
///
public string REMARK { get; set; }
}
///
/// 日志信息dto
///
public class BookingCustomerLogDto
{
///
/// 状态
///
public string Status { get; set; }
///
/// 状态时间
///
public DateTime? OpTime { get; set; }
///
/// 创建者名称
///
public string CreatedUserName { get; set; }
///
/// 备注
///
public string Remark { get; set; }
}
///
/// 接收客户订舱提交dto
///
public class BookingCustomerSubmitDto : BookingCustomerOrderDto
{
///
/// 主键
///
public new string Id { get; set; }
///
/// 系统编号(订舱编号)
///
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) ,2023年9月12日,传输文件的形式废弃,改为传递文件路径
///
//public Dictionary Files { get; set; }
///
/// 文件信息
///
public List Files { get; set; }
///
/// 箱信息
///
public List CtnList { get; set; }
///
/// 服务项目
///
public List ServiceItemList { get; set; }
///
/// 回推数据接口url
///
public string FeedbackUrl { get; set; }
///
/// 回推接口Key
///
public string FeedbackKey { get; set; }
///
/// 回推接口秘钥
///
public string FeedbackSecret { get; set; }
///
/// 附加数据
///
public string ExtendData { get; set; }
}
///
/// 大简云取消提交订舱dto
///
public class BookingCustomerCancelSubmitDto
{
///
/// 主键
///
public string Id { get; set; }
///
/// 系统编号(订舱编号)
///
public string BOOKINGNO { get; set; }
}
///
/// 提交订舱返回对象
///
public class BookingSubmitResultModel
{
///
/// ID
///
public string 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 List BookingLogs { get; set; }
}
///
/// 客户订舱模板查询条件
///
public class BookingCustomerTemplateQueryInput : PageInputBase
{
///
/// 标题
///
public string Title { get; set; }
}
///
/// 客户订舱模板查询返回
///
public class BookingCustomerTemplateQueryOutput
{
///
/// ID
///
public long Id { get; set; }
///
/// 标题
///
public string Title { get; set; }
}
///
/// 客户订舱模板保存返回
///
public class BookingCustomerTemplateSaveInput
{
///
/// 标题
///
public string Title { get; set; }
///
/// 内容JSON
///
public string JsonContent { get; set; }
}
///
/// 订舱数据回推统一对象
///
public class BookingFeedbackDto
{
/////
///// 审核
/////
//public const string TransferTypeAudit = "Audit";
/////
///// 订舱数据
/////
//public const string TransferTypeBookingAll = "BookingAll";
/////
///// 货物状态
/////
//public const string TransferTypeGoodsStatus = "GoodsStatus";
///
/// 构造
///
///
public BookingFeedbackDto(string feedbackType)
{
this.FeedbackType = feedbackType;
}
///
/// 回推类型
///
public string FeedbackType { get; set; }
///
/// 回推json内容
///
public string JsonContent { get; set; }
///
/// 订舱记录同步类型 ALL或空:更新全部 BC:只更新BC相关字段
///
public string SyncType { get; set; }
}
///
/// 客户端提交修改服务项目dto
///
public class ChangeServiceItemDto
{
///
/// 业务id
///
public string Id { get; set; }
///
/// 订舱客户的公司全称
///
public string CompanyName { get; set; }
///
/// 订舱客户的姓名
///
public string UserName { get; set; }
///
/// 服务项目代码
///
public string ServiceCode { get; set; }
///
/// 服务项目名称
///
public string ServiceName { get; set; }
///
/// 是否取消
///
public bool IsCancel { get; set; } = false;
}
///
/// 客户端提交修改服务项目消息ext对象
///
public class ChangeServiceItemExtModel
{
///
/// 客户端提交的修改服务项目dto
///
public ChangeServiceItemDto Dto { get; set; }
///
/// 订舱数据id
///
public long OrderId { get; set; }
///
/// 订舱需求数据id
///
public long CustomerOrderId { get; set; }
}
///
/// 客户端提交单证补料dto
///
public class DocSupplementSubmitDto
{
///
/// 业务id
///
public string Id { get; set; }
///
/// 公司全称
///
public string CompanyName { get; set; }
///
/// 客户的姓名
///
public string UserName { get; set; }
///
/// 补料类型名称
///
public string DocType { get; set; }
///
/// 补料类型名称
///
public string DocTypeName { get; set; }
///
/// 补料文件
///
public List FileList { get; set; }
}
///
/// 客户端提交修改补料消息ext对象
///
public class DocSupplementExtModel
{
///
/// 客户端提交的修改服务项目dto
///
public DocSupplementSubmitDto Dto { get; set; }
///
/// 订舱数据id
///
public long OrderId { get; set; }
///
/// 订舱需求数据id
///
public long CustomerOrderId { get; set; }
}
///
/// 接口接收订舱数据输入
///
public class BookingCustomerApiSaveInput : BookingCustomerOrderDto
{
///
/// 其他业务系统ID
///
public string BSNO { get; set; }
///
/// 箱信息
///
public List CtnList { get; set; }
///
/// 服务项目
///
public List ServiceItemList { get; set; }
///
/// 订舱账号
///
public string BOOKINGACCOUNT { get; set; }
///
/// 订舱密码
///
public string BOOKINGPASSWORD { get; set; }
///
/// 航线代码
///
public string LINECODE { get; set; }
///
/// 操作邮箱
///
public string OPMAIL { get; set; }
}
}