You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1502 lines
37 KiB
C#

5 months ago
using MathNet.Numerics.Distributions;
using Myshipping.Application.Entity;
using Myshipping.Application.Service.BookingOrder.Dto;
using Myshipping.Core;
6 months ago
using SqlSugar;
1 year ago
using System;
using System.Collections.Generic;
6 months ago
using System.ComponentModel;
1 year ago
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
public class BookingCustomerOrderQueryInput : PageInputBase
{
/// <summary>
/// 主键
/// </summary>
public long Id { get; set; }
/// <summary>
/// 系统编号(订舱编号)
/// </summary>
public string BOOKINGNO { get; set; }
/// <summary>
/// 船名
/// </summary>
public string VESSEL { get; set; }
/// <summary>
/// 海关航次
/// </summary>
public string VOYNO { get; set; }
/// <summary>
/// 场站代码
/// </summary>
public string YARDID { get; set; }
/// <summary>
/// 场站
/// </summary>
public string YARD { get; set; }
/// <summary>
/// 开船日期起始
/// </summary>
public DateTime? ETDStart { get; set; }
/// <summary>
/// 开船日期截止
/// </summary>
public DateTime? ETDEnd { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
public string PORTDISCHARGEID { get; set; }
/// <summary>
/// 卸货港
/// </summary>
public string PORTDISCHARGE { get; set; }
/// <summary>
/// 船公司代号
/// </summary>
public string CARRIERID { get; set; }
/// <summary>
/// 船公司
/// </summary>
public string CARRIER { get; set; }
/// <summary>
/// 录入日期起始
/// </summary>
public DateTime? CreatedTimeStart { get; set; }
/// <summary>
/// 录入日期截止
/// </summary>
public DateTime? CreatedTimeEnd { get; set; }
/// <summary>
/// 修改日期起始
/// </summary>
public DateTime? UpdateTimeStart { get; set; }
/// <summary>
/// 修改日期截止
/// </summary>
public DateTime? UpdateTimeEnd { get; set; }
/// <summary>
/// 业务状态
/// </summary>
public List<string> BSStatusList { get; set; }
/// <summary>
/// 订舱租户名称
/// </summary>
public string BookingTenantName { get; set; }
6 months ago
/// <summary>
/// 发货人名称
/// </summary>
public string ShipperName { get; set; }
/// <summary>
/// 收货人名称
/// </summary>
public string ConsigneeName { get; set; }
/// <summary>
/// 通知人名称
/// </summary>
public string NotifypartName { get; set; }
/// <summary>
/// 订舱公司名称
/// </summary>
public string BookingName { get; set; }
/// <summary>
/// 父级订单编号
/// </summary>
public string ParentBookingNO { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string CustNO { get; set; }
1 year ago
}
//dto
public class BookingCustomerOrderDto
{
/// <summary>
/// 主键
/// </summary>
public long Id { get; set; }
/// <summary>
/// 船名
/// </summary>
public string VESSEL { get; set; }
/// <summary>
/// 海关航次
/// </summary>
public string VOYNO { get; set; }
/// <summary>
/// 内部航次
/// </summary>
public string VOYNOINNER { get; set; }
/// <summary>
/// 场站代码
/// </summary>
public string YARDID { get; set; }
/// <summary>
/// 场站
/// </summary>
public string YARD { get; set; }
/// <summary>
/// 开船日期
/// </summary>
public DateTime? ETD { get; set; }
1 year ago
/// <summary>
/// 合约号
/// </summary>
public string CONTRACTNO { get; set; }
/// <summary>
/// 发货人
/// </summary>
public string SHIPPER { get; set; }
/// <summary>
/// 收货人
/// </summary>
public string CONSIGNEE { get; set; }
/// <summary>
/// 通知人
/// </summary>
public string NOTIFYPARTY { get; set; }
/// <summary>
/// 第二通知人
/// </summary>
public string NOTIFYPARTY2 { get; set; }
/// <summary>
/// 起运港代码
/// </summary>
public string PORTLOADID { get; set; }
/// <summary>
/// 起运港
/// </summary>
public string PORTLOAD { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
public string PORTDISCHARGEID { get; set; }
/// <summary>
/// 卸货港
/// </summary>
public string PORTDISCHARGE { get; set; }
/// <summary>
/// 运输条款
/// </summary>
public string SERVICE { get; set; }
/// <summary>
/// 付费方式
/// </summary>
public string BLFRT { get; set; }
/// <summary>
/// HS代码
/// </summary>
public string HSCODE { get; set; }
/// <summary>
/// 货描
/// </summary>
public string DESCRIPTION { get; set; }
/// <summary>
/// 件数
/// </summary>
public int? PKGS { get; set; }
/// <summary>
/// 包装
/// </summary>
public string KINDPKGS { get; set; }
/// <summary>
/// 毛重
/// </summary>
public decimal? KGS { get; set; }
/// <summary>
/// 尺码
/// </summary>
public decimal? CBM { get; set; }
/// <summary>
/// 件数大写
/// </summary>
public string TOTALNO { get; set; }
/// <summary>
/// 集装箱
/// </summary>
public string CNTRTOTAL { get; set; }
/// <summary>
/// 船公司代号
/// </summary>
public string CARRIERID { get; set; }
/// <summary>
/// 船公司
/// </summary>
public string CARRIER { get; set; }
/// <summary>
/// 货物标识
/// </summary>
public string CARGOID { get; set; }
/// <summary>
/// 危险品类别
/// </summary>
public string DCLASS { get; set; }
/// <summary>
/// 危险品编号
/// </summary>
public string DUNNO { get; set; }
/// <summary>
/// 危险品页号
/// </summary>
public string DPAGE { get; set; }
/// <summary>
/// 危险品标签
/// </summary>
public string DLABEL { get; set; }
/// <summary>
/// 危险品联系人
/// </summary>
public string LINKMAN { get; set; }
/// <summary>
/// 危险品联系电话
/// </summary>
public string DTEL { get; set; }
/// <summary>
1 year ago
/// 温度单位
/// </summary>
public string TEMPID { get; set; }
/// <summary>
/// 设置温度
/// </summary>
public string TEMPSET { get; set; }
/// <summary>
/// 通风度
/// </summary>
public string REEFERF { get; set; }
/// <summary>
/// 湿度
/// </summary>
public string HUMIDITY { get; set; }
/// <summary>
/// 最低温度
/// </summary>
public string TEMPMIN { get; set; }
/// <summary>
/// 最高温度
/// </summary>
public string TEMPMAX { get; set; }
/// <summary>
/// 订舱要求
1 year ago
/// </summary>
public string SOREMARK { get; set; }
/// <summary>
/// 箱长
/// </summary>
public decimal CtrnLength { get; set; }
/// <summary>
/// 箱宽
/// </summary>
public decimal CtrnWidth { get; set; }
/// <summary>
/// 箱高
/// </summary>
public decimal CtrnHeight { get; set; }
/// <summary>
/// 销售代码
/// </summary>
public string SaleCode { get; set; }
9 months ago
/// <summary>
/// 操作备注
/// </summary>
public string CZRemark { get; set; }
/// <summary>
/// 目的地代码
/// </summary>
public string DESTINATIONID { get; set; }
/// <summary>
/// 目的地
/// </summary>
public string DESTINATION { get; set; }
/// <summary>
/// 起运港唯一代码
/// </summary>
public string PORTLOADCODE { get; set; }
/// <summary>
/// 目的港唯一代码
/// </summary>
public string PORTDISCHARGECODE { get; set; }
/// <summary>
/// 目的地唯一代码
/// </summary>
public string DESTINATIONCODE { get; set; }
/// <summary>
/// 付费方式代码
/// </summary>
public string FRTCODE { get; set; }
/// <summary>
/// 运输条款代码
/// </summary>
public string SERVICECODE { get; set; }
8 months ago
/// <summary>
/// 船公司航线代码
/// </summary>
public string LANECODE { get; set; }
/// <summary>
/// 发货人名称
/// </summary>
public string ShipperName { get; set; }
/// <summary>
/// 发货人地址
/// </summary>
public string ShipperAddress { get; set; }
/// <summary>
/// 发货人国家
/// </summary>
public string ShipperCountry { get; set; }
/// <summary>
/// 发货人省份
/// </summary>
public string ShipperProvince { get; set; }
/// <summary>
/// 发货人城市
/// </summary>
public string ShipperCity { get; set; }
/// <summary>
/// 发货人区县
/// </summary>
public string ShipperCounty { get; set; }
/// <summary>
/// 发货人邮政编码
/// </summary>
public string ShipperPostCode { get; set; }
/// <summary>
/// 发货人联系人名
/// </summary>
public string ShipperFirstName { get; set; }
/// <summary>
/// 发货人联系人姓
/// </summary>
public string ShipperLastName { get; set; }
/// <summary>
/// 发货人电话国家代码
/// </summary>
public string ShipperPhoneCountryCode { get; set; }
/// <summary>
/// 发货人电话区号
/// </summary>
public string ShipperPhoneCode { get; set; }
/// <summary>
/// 发货人电话
/// </summary>
public string ShipperPhone { get; set; }
/// <summary>
/// 发货人分机号
/// </summary>
public string ShipperPhoneExtension { get; set; }
/// <summary>
/// 收货人名称
/// </summary>
public string ConsigneeName { get; set; }
/// <summary>
/// 收货人地址
/// </summary>
public string ConsigneeAddress { get; set; }
/// <summary>
/// 收货人国家
/// </summary>
public string ConsigneeCountry { get; set; }
/// <summary>
/// 收货人省份
/// </summary>
public string ConsigneeProvince { get; set; }
/// <summary>
/// 收货人城市
/// </summary>
public string ConsigneeCity { get; set; }
/// <summary>
/// 收货人区县
/// </summary>
public string ConsigneeCounty { get; set; }
/// <summary>
/// 收货人邮政编码
/// </summary>
public string ConsigneePostCode { get; set; }
/// <summary>
/// 收货人联系人名
/// </summary>
public string ConsigneeFirstName { get; set; }
/// <summary>
/// 收货人联系人姓
/// </summary>
public string ConsigneeLastName { get; set; }
/// <summary>
/// 收货人电话国家代码
/// </summary>
public string ConsigneePhoneCountryCode { get; set; }
/// <summary>
/// 收货人电话区号
/// </summary>
public string ConsigneePhoneCode { get; set; }
/// <summary>
/// 收货人电话
/// </summary>
public string ConsigneePhone { get; set; }
/// <summary>
/// 收货人分机号
/// </summary>
public string ConsigneePhoneExtension { get; set; }
/// <summary>
/// 通知人名称
/// </summary>
public string NotifypartName { get; set; }
/// <summary>
/// 通知人地址
/// </summary>
public string NotifypartAddress { get; set; }
/// <summary>
/// 通知人国家
/// </summary>
public string NotifypartCountry { get; set; }
/// <summary>
/// 通知人省份
/// </summary>
public string NotifypartProvince { get; set; }
/// <summary>
/// 通知人城市
/// </summary>
public string NotifypartCity { get; set; }
/// <summary>
/// 通知人区县
/// </summary>
public string NotifypartCounty { get; set; }
/// <summary>
/// 通知人邮政编码
/// </summary>
public string NotifypartPostCode { get; set; }
/// <summary>
/// 通知人联系人名
/// </summary>
public string NotifypartFirstName { get; set; }
/// <summary>
/// 通知人联系人姓
/// </summary>
5 months ago
public string NotifypartLastName { get; set; }
/// <summary>
/// 通知人电话国家代码
/// </summary>
public string NotifypartPhoneCountryCode { get; set; }
/// <summary>
/// 通知人电话区号
/// </summary>
public string NotifypartPhoneCode { get; set; }
/// <summary>
/// 通知人电话
/// </summary>
public string NotifypartPhone { get; set; }
/// <summary>
/// 通知人分机号
/// </summary>
public string NotifypartPhoneExtension { get; set; }
/// <summary>
/// 订舱公司名称
/// </summary>
public string BookingName { get; set; }
/// <summary>
/// 订舱公司地址
/// </summary>
public string BookingAddress { get; set; }
/// <summary>
/// 订舱公司国家
/// </summary>
public string BookingCountry { get; set; }
/// <summary>
/// 订舱公司省份
/// </summary>
public string BookingProvince { get; set; }
/// <summary>
/// 订舱公司城市
/// </summary>
public string BookingCity { get; set; }
/// <summary>
/// 订舱公司区县
/// </summary>
public string BookingCounty { get; set; }
/// <summary>
/// 订舱公司邮政编码
/// </summary>
public string BookingPostCode { get; set; }
/// <summary>
/// 订舱公司联系人名
/// </summary>
public string BookingFirstName { get; set; }
/// <summary>
/// 订舱公司联系人姓
/// </summary>
public string BookingLastName { get; set; }
/// <summary>
/// 订舱公司电话国家代码
/// </summary>
public string BookingPhoneCountryCode { get; set; }
/// <summary>
/// 订舱公司电话区号
/// </summary>
public string BookingPhoneCode { get; set; }
/// <summary>
/// 订舱公司电话
/// </summary>
public string BookingPhone { get; set; }
/// <summary>
/// 订舱公司分机号
/// </summary>
public string BookingPhoneExtension { get; set; }
7 months ago
/// <summary>
/// 收货地
/// </summary>
public string PLACERECEIPT { get; set; }
/// <summary>
/// 收货地唯一代码
/// </summary>
public string PLACERECEIPTCODE { get; set; }
/// <summary>
/// 收货地代码
/// </summary>
public string PLACERECEIPTID { get; set; }
6 months ago
/// <summary>
/// 订舱账号
/// </summary>
public string BookingAccount { get; set; }
/// <summary>
/// 订舱密码
/// </summary>
public string BookingPassword { get; set; }
/// <summary>
/// 操作邮箱(多个邮箱使用,分隔)
6 months ago
/// </summary>
public string OpMail { get; set; }
/// <summary>
/// 起始港名
/// </summary>
public string PolPortName { get; set; }
/// <summary>
/// 目的港名
/// </summary>
public string PodPortName { get; set; }
/// <summary>
/// 合约类型
/// </summary>
public string ContractType { get; set; }
/// <summary>
/// 运送方式
/// </summary>
public string ServiceType { get; set; }
/// <summary>
/// 运送形态
/// </summary>
public string ServiceMode { get; set; }
/// <summary>
/// 联系人
/// </summary>
public string ContactName { get; set; }
/// <summary>
/// 联系电话
/// </summary>
public string ContactTel { get; set; }
/// <summary>
/// 订舱网点
/// </summary>
public string BookingAddr { get; set; }
/// <summary>
/// 提单签发地
/// </summary>
public string BillSignLoc { get; set; }
/// <summary>
/// 提单数量
/// </summary>
public int? BillCount { get; set; }
/// <summary>
/// 是否接收订舱通知
/// </summary>
public bool AcceptNotify { get; set; }
/// <summary>
/// 发货人性别
/// </summary>
public string ShipperSex { get; set; }
/// <summary>
/// 收货人性别
/// </summary>
public string ConsigneeSex { get; set; }
/// <summary>
/// 通知人性别
/// </summary>
public string NotifypartSex { get; set; }
/// <summary>
/// 订舱公司性别
/// </summary>
public string BookingSex { get; set; }
/// <summary>
/// 发货人内参号码
/// </summary>
public string ShipperInnerCode { get; set; }
/// <summary>
/// 收货人内参号码
/// </summary>
public string ConsigneeInnerCode { get; set; }
/// <summary>
/// 通知人内参号码
/// </summary>
public string NotifypartInnerCode { get; set; }
/// <summary>
/// 订舱公司内参号码
/// </summary>
public string BookingInnerCode { get; set; }
/// <summary>
/// 订舱客户内参号码
/// </summary>
public string CustomerInnerCode { get; set; }
/// <summary>
/// 发货人邮箱
/// </summary>
public string ShipperEmail { get; set; }
/// <summary>
/// 收货人邮箱
/// </summary>
public string ConsigneeEmail { get; set; }
/// <summary>
/// 通知人邮箱
/// </summary>
public string NotifypartEmail { get; set; }
/// <summary>
/// 订舱公司邮箱
/// </summary>
public string BookingEmail { get; set; }
6 months ago
/// <summary>
/// 签约方
/// </summary>
public string SignType { get; set; }
/// <summary>
/// 复制数量
/// </summary>
public int CopyNum { get; set; }
/// <summary>
/// 父级订单编号
/// </summary>
public string ParentBookingNO { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string CustNO { get; set; }
1 month ago
/// <summary>
/// 约号对应的账户名
/// </summary>
public string NamedAccount { get; set; }
1 year ago
}
//保存dto
public class BookingCustomerOrderSaveInput : BookingCustomerOrderDto
{
/// <summary>
/// 上传还未保存的文件
/// </summary>
public List<string> TempFileNames { get; set; }
/// <summary>
/// 已保存过的需要保留的文件
/// </summary>
public List<long> Files { get; set; }
/// <summary>
/// 箱信息
/// </summary>
public List<BookingCustomerCtnDto> CtnList { get; set; }
/// <summary>
/// 服务项目
/// </summary>
public List<BookingServiceItemCustomerDto> ServiceItemList { get; set; }
6 months ago
/// <summary>
/// 船期数据EMC、COSCO需要
6 months ago
/// </summary>
public dynamic ShipData { get; set; }
1 year ago
}
//台账返回dto
public class BookingCustomerOrderListOutput : BookingCustomerOrderDto
{
/// <summary>
/// 系统编号
/// </summary>
public string BOOKINGNO { get; set; }
/// <summary>
/// 业务状态
/// </summary>
public string BSSTATUS { get; set; }
1 year ago
/// <summary>
/// 订舱租户名称
/// </summary>
public string BookingTenantName { get; set; }
/// <summary>
/// 订舱用户名称
/// </summary>
public string BookingUserName { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public string CreatedTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public string UpdatedTime { get; set; }
/// <summary>
/// 日志信息
/// </summary>
public List<BookingCustomerLogDto> LogList { get; set; }
1 year ago
}
//保存返回dto
public class BookingCustomerOrderSaveOutput : BookingCustomerOrderDto
{
/// <summary>
/// 系统编号
/// </summary>
public string BOOKINGNO { get; set; }
/// <summary>
/// 业务状态
/// </summary>
public string BSSTATUS { get; set; }
/// <summary>
/// 订舱租户名称
/// </summary>
public string BookingTenantName { get; set; }
/// <summary>
/// 订舱用户名称
/// </summary>
public string BookingUserName { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public string CreatedTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public string UpdatedTime { get; set; }
/// <summary>
/// 附加数据
/// </summary>
public string ExtendData { get; set; }
1 year ago
/// <summary>
/// 文件列表
/// </summary>
public Dictionary<long, string> Files { get; set; }
/// <summary>
/// 箱信息
/// </summary>
public List<BookingCustomerCtnDto> CtnList { get; set; }
/// <summary>
/// 日志信息
/// </summary>
public List<BookingCustomerLogDto> LogList { get; set; }
/// <summary>
/// 服务项目
/// </summary>
public List<BookingServiceItemCustomerDto> ServiceItemList { get; set; }
1 year ago
}
/// <summary>
/// 箱信息dto
/// </summary>
public class BookingCustomerCtnDto
{
/// <summary>
/// 主键
/// </summary>
public long? Id { get; set; }
/// <summary>
/// 箱型代码
/// </summary>
public string CTNCODE { get; set; }
/// <summary>
/// 箱型
/// </summary>
public string CTNALL { get; set; }
/// <summary>
/// 箱量
/// </summary>
public int? CTNNUM { get; set; }
/// <summary>
/// 毛重
/// </summary>
public decimal? KGS { get; set; }
/// <summary>
/// 备注
/// </summary>
public string REMARK { get; set; }
1 year ago
}
/// <summary>
/// 日志信息dto
/// </summary>
public class BookingCustomerLogDto
{
/// <summary>
/// 状态
/// </summary>
public string Status { get; set; }
/// <summary>
/// 状态时间
/// </summary>
public DateTime? OpTime { get; set; }
/// <summary>
/// 创建者名称
/// </summary>
public string CreatedUserName { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
1 year ago
}
/// <summary>
/// 接收客户订舱提交dto
/// </summary>
public class BookingCustomerSubmitDto : BookingCustomerOrderDto
{
/// <summary>
/// 主键
/// </summary>
public new string Id { get; set; }
/// <summary>
/// 系统编号(订舱编号)
/// </summary>
public string BOOKINGNO { get; set; }
/// <summary>
/// 订舱租户id
/// </summary>
public long BookingTenantId { get; set; }
/// <summary>
/// 订舱客户公司名称
/// </summary>
public string BookingTenantName { get; set; }
/// <summary>
/// 订舱客户公司id
/// </summary>
public string BookingCompanyId { get; set; }
/// <summary>
/// 订舱用户id
/// </summary>
public long BookingUserId { get; set; }
/// <summary>
/// 订舱用户名称
/// </summary>
public string BookingUserName { get; set; }
/// <summary>
/// 订舱大简云用户id
/// </summary>
public string BookingDjyUserId { get; set; }
/// <summary>
/// 文件列表key文件名称value文件内容base64 2023年9月12日传输文件的形式废弃改为传递文件路径
/// </summary>
//public Dictionary<string, string> Files { get; set; }
/// <summary>
/// 文件信息
/// </summary>
public List<BookingFileSyncCustomerDto> Files { get; set; }
/// <summary>
/// 箱信息
/// </summary>
public List<BookingCustomerCtnDto> CtnList { get; set; }
/// <summary>
/// 服务项目
/// </summary>
public List<BookingServiceItemCustomerDto> ServiceItemList { get; set; }
/// <summary>
/// 回推数据接口url
/// </summary>
public string FeedbackUrl { get; set; }
/// <summary>
/// 回推接口Key
/// </summary>
public string FeedbackKey { get; set; }
/// <summary>
/// 回推接口秘钥
/// </summary>
public string FeedbackSecret { get; set; }
/// <summary>
/// 附加数据
/// </summary>
public string ExtendData { get; set; }
}
/// <summary>
/// 大简云取消提交订舱dto
/// </summary>
public class BookingCustomerCancelSubmitDto
{
/// <summary>
/// 主键
/// </summary>
public string Id { get; set; }
/// <summary>
/// 系统编号(订舱编号)
/// </summary>
public string BOOKINGNO { get; set; }
}
/// <summary>
/// 提交订舱返回对象
/// </summary>
public class BookingSubmitResultModel
{
/// <summary>
/// ID
/// </summary>
public string Id { get; set; }
/// <summary>
/// 客户订舱系统中的订舱编号
/// </summary>
public string BOOKINGNO { get; set; }
/// <summary>
/// 是否成功
/// </summary>
public bool Success { get; set; }
/// <summary>
/// 消息内容
/// </summary>
public string Message { get; set; }
}
/// <summary>
/// 服务项目
/// </summary>
public class BookingServiceItemCustomerDto
{
/// <summary>
/// 状态代码
/// </summary>
public string Code { get; set; }
/// <summary>
/// 状态名称
/// </summary>
public string Value { get; set; }
}
/// <summary>
/// 接收(发送)客户订舱审核结果
/// </summary>
public class BookingCustomerRecAduitFeedbackDto
{
/// <summary>
/// 客户订舱系统中的ID
/// </summary>
public string Id { get; set; }
/// <summary>
/// 是否接收订舱
/// </summary>
public bool Accept { get; set; }
/// <summary>
/// 审核意见
/// </summary>
public string Comment { get; set; }
}
5 months ago
/// <summary>
/// 作废回执
/// </summary>
public class BookingCustomerRecCancelDto
{
/// <summary>
/// 客户订舱系统中的ID
/// </summary>
public string Id { get; set; }
}
/// <summary>
/// 接收(发送)订舱反馈数据
/// </summary>
public class BookingCustomerRecDataFeedbackDto
{
/// <summary>
/// 订舱主信息
/// </summary>
public BookingOrderSyncCustomerDto Order { get; set; }
/// <summary>
/// 箱信息
/// </summary>
public List<BookingCtnSyncCustomerDto> Ctns { get; set; }
/// <summary>
/// 文件信息
/// </summary>
public List<BookingFileSyncCustomerDto> Files { get; set; }
/// <summary>
/// 货运动态
/// </summary>
public List<BookingStatusLogSyncCustomerDto> StatusLogs { get; set; }
/// <summary>
/// 修改日志
/// </summary>
public List<BookingLogSyncCustomerDto> BookingLogs { get; set; }
}
/// <summary>
/// 客户订舱模板查询条件
/// </summary>
public class BookingCustomerTemplateQueryInput : PageInputBase
{
/// <summary>
/// 标题
/// </summary>
public string Title { get; set; }
}
/// <summary>
/// 客户订舱模板查询返回
/// </summary>
public class BookingCustomerTemplateQueryOutput
{
/// <summary>
/// ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 标题
/// </summary>
public string Title { get; set; }
}
/// <summary>
/// 客户订舱模板保存返回
/// </summary>
public class BookingCustomerTemplateSaveInput
{
/// <summary>
/// 标题
/// </summary>
public string Title { get; set; }
/// <summary>
/// 内容JSON
/// </summary>
public string JsonContent { get; set; }
}
/// <summary>
/// 订舱数据回推统一对象
/// </summary>
public class BookingFeedbackDto
{
///// <summary>
///// 审核
///// </summary>
//public const string TransferTypeAudit = "Audit";
///// <summary>
///// 订舱数据
///// </summary>
//public const string TransferTypeBookingAll = "BookingAll";
///// <summary>
///// 货物状态
///// </summary>
//public const string TransferTypeGoodsStatus = "GoodsStatus";
/// <summary>
/// 构造
/// </summary>
/// <param name="feedbackType"></param>
public BookingFeedbackDto(string feedbackType)
{
this.FeedbackType = feedbackType;
}
/// <summary>
/// 回推类型
/// </summary>
public string FeedbackType { get; set; }
/// <summary>
/// 回推json内容
/// </summary>
public string JsonContent { get; set; }
/// <summary>
/// 订舱记录同步类型 ALL或空更新全部 BC只更新BC相关字段
/// </summary>
public string SyncType { get; set; }
}
/// <summary>
/// 客户端提交修改服务项目dto
/// </summary>
public class ChangeServiceItemDto
{
/// <summary>
/// 业务id
/// </summary>
public string Id { get; set; }
/// <summary>
/// 订舱客户的公司全称
/// </summary>
public string CompanyName { get; set; }
/// <summary>
/// 订舱客户的姓名
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 服务项目代码
/// </summary>
public string ServiceCode { get; set; }
/// <summary>
/// 服务项目名称
/// </summary>
public string ServiceName { get; set; }
/// <summary>
/// 是否取消
/// </summary>
public bool IsCancel { get; set; } = false;
}
/// <summary>
/// 客户端提交修改服务项目消息ext对象
/// </summary>
public class ChangeServiceItemExtModel
{
/// <summary>
/// 客户端提交的修改服务项目dto
/// </summary>
public ChangeServiceItemDto Dto { get; set; }
/// <summary>
/// 订舱数据id
/// </summary>
public long OrderId { get; set; }
/// <summary>
/// 订舱需求数据id
/// </summary>
public long CustomerOrderId { get; set; }
}
/// <summary>
/// 客户端提交单证补料dto
/// </summary>
public class DocSupplementSubmitDto
{
/// <summary>
/// 业务id
/// </summary>
public string Id { get; set; }
/// <summary>
/// 公司全称
/// </summary>
public string CompanyName { get; set; }
/// <summary>
/// 客户的姓名
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 补料类型名称
/// </summary>
public string DocType { get; set; }
/// <summary>
/// 补料类型名称
/// </summary>
public string DocTypeName { get; set; }
/// <summary>
/// 补料文件
/// </summary>
public List<BookingFileSyncCustomerDto> FileList { get; set; }
}
/// <summary>
/// 客户端提交修改补料消息ext对象
/// </summary>
public class DocSupplementExtModel
{
/// <summary>
/// 客户端提交的修改服务项目dto
/// </summary>
public DocSupplementSubmitDto Dto { get; set; }
/// <summary>
/// 订舱数据id
/// </summary>
public long OrderId { get; set; }
/// <summary>
/// 订舱需求数据id
/// </summary>
public long CustomerOrderId { get; set; }
}
9 months ago
/// <summary>
/// 接口接收订舱数据输入
/// </summary>
public class BookingCustomerApiSaveInput : BookingCustomerOrderDto
{
/// <summary>
/// 其他业务系统ID
/// </summary>
public string BSNO { get; set; }
/// <summary>
/// 箱信息
/// </summary>
public List<BookingCustomerCtnDto> CtnList { get; set; }
/// <summary>
/// 服务项目
/// </summary>
public List<BookingServiceItemCustomerDto> ServiceItemList { get; set; }
/// <summary>
/// 订舱账号
/// </summary>
public string BOOKINGACCOUNT { get; set; }
/// <summary>
/// 订舱密码
/// </summary>
public string BOOKINGPASSWORD { get; set; }
8 months ago
/// <summary>
/// 航线代码
/// </summary>
public string LINECODE { get; set; }
7 months ago
7 months ago
/// <summary>
6 months ago
/// 船期数据JSON
7 months ago
/// </summary>
6 months ago
public string ShipInfoJson { get; set; }
}
/// <summary>
/// 保存船期数据EMC DTO
/// </summary>
public class SaveShipInfoEMCDto
{
public long Id { get; set; }
public dynamic ShipData { get; set; }
9 months ago
}
5 months ago
/// <summary>
/// 多订舱编号回推
/// </summary>
public class BookingCustomerMultiCustNODto
{
/// <summary>
/// 客户订舱系统中的ID
/// </summary>
public string Id { get; set; }
/// <summary>
/// 订舱编号列表
/// </summary>
public List<string> ListCustNO { get; set; }
}
/// <summary>
/// 多订舱编号回推时客户端的反馈数据
/// </summary>
public class BookingCustomerMultiCustNORespDto
{
/// <summary>
/// 客户订舱ID
/// </summary>
public long CustOrderId { get; set; }
/// <summary>
/// 订舱台账ID
/// </summary>
public long OrderId { get; set; }
/// <summary>
/// 系统编号
/// </summary>
public string BookingNO { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string CustNO { get; set; }
}
1 year ago
}