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.

640 lines
16 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application.Service.BookingOrder.Dto
{
/// <summary>
/// 订舱同步数据到客户订舱系统dto
/// </summary>
public class BookingOrderSyncCustomerDto
{
/// <summary>
/// ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 主提单号
/// </summary>
public string MBLNO { get; set; }
/// <summary>
/// 分提单号
/// </summary>
public string HBLNO { 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 YARDID { get; set; }
/// <summary>
/// 场站
/// </summary>
public string YARD { get; set; }
/// <summary>
/// 截港日期
/// </summary>
public string CLOSINGDATE { get; set; }
/// <summary>
/// 截单日期
/// </summary>
public string CLOSEDOCDATE { get; set; }
/// <summary>
/// 截VGM时间
/// </summary>
public string CLOSEVGMDATE { get; set; }
/// <summary>
/// 收货地代码
/// </summary>
public string PLACERECEIPTID { get; set; }
/// <summary>
/// 收货地
/// </summary>
public string PLACERECEIPT { 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 PLACEDELIVERYID { get; set; }
/// <summary>
/// 交货地
/// </summary>
public string PLACEDELIVERY { get; set; }
/// <summary>
/// 目的地代码
/// </summary>
public string DESTINATIONID { get; set; }
/// <summary>
/// 目的地
/// </summary>
public string DESTINATION { get; set; }
/// <summary>
/// 提单份数
/// </summary>
public string NOBILL { get; set; }
/// <summary>
/// 副本提单份数
/// </summary>
public string COPYNOBILL { get; set; }
/// <summary>
/// 签单方式
/// </summary>
public string ISSUETYPE { get; set; }
/// <summary>
/// 签单日期
/// </summary>
public string ISSUEDATE { get; set; }
/// <summary>
/// 签单地点代码
/// </summary>
public string ISSUEPLACEID { get; set; }
/// <summary>
/// 签单地点
/// </summary>
public string ISSUEPLACE { get; set; }
/// <summary>
/// 付费方式
/// </summary>
public string BLFRT { get; set; }
/// <summary>
/// 预付地点
/// </summary>
public string PREPARDAT { get; set; }
/// <summary>
/// 到付地点
/// </summary>
public string PAYABLEAT { get; set; }
/// <summary>
/// 运输条款
/// </summary>
public string SERVICE { get; set; }
/// <summary>
/// 唛头
/// </summary>
public string MARKS { 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 LANECODE { get; set; }
/// <summary>
/// 航线名称(船公司)
/// </summary>
public string LANENAME { 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 ETD { get; set; }
/// <summary>
/// 合约号(运费协议号)
/// </summary>
public string CONTRACTNO { 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 ZhanCangFlag { get; set; }
/// <summary>
/// 申请箱使
/// </summary>
public string ShenQingXiangShi { get; set; }
/// <summary>
/// 中转港代码
/// </summary>
public string TRANSPORTID { get; set; }
/// <summary>
/// 中转港
/// </summary>
public string TRANSPORT { get; set; }
/// <summary>
/// 第三付款地
/// </summary>
public string THIRDPAYADDR { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string CUSTNO { get; set; }
8 months ago
/// <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; }
}
/// <summary>
/// 箱信息同步数据到客户订舱系统dto
/// </summary>
public class BookingCtnSyncCustomerDto
{
/// <summary>
/// ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 单据ID
/// </summary>
public long? BILLID { get; set; }
/// <summary>
/// 箱型代码
/// </summary>
public string CTNCODE { get; set; }
/// <summary>
/// 箱型
/// </summary>
public string CTNALL { get; set; }
/// <summary>
/// 箱量
/// </summary>
public int? CTNNUM { get; set; }
/// <summary>
/// TEU
/// </summary>
public int? TEU { get; set; }
/// <summary>
/// 箱号
/// </summary>
public string CNTRNO { get; set; }
/// <summary>
/// 封号
/// </summary>
public string SEALNO { 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 decimal? TAREWEIGHT { get; set; }
/// <summary>
/// 箱状态
/// </summary>
public string CTNSTATUS { get; set; }
/// <summary>
/// 称重方式
/// </summary>
public string WEIGHTYPE { get; set; }
/// <summary>
/// 称重重量
/// </summary>
public decimal? WEIGHKGS { get; set; }
/// <summary>
/// 称重联系人
/// </summary>
public string WEIGHATTN { get; set; }
/// <summary>
/// VGM联系公司
/// </summary>
public string VGMCONNCOM { get; set; }
/// <summary>
/// VGM联系电话
/// </summary>
public string WEIGHTEL { get; set; }
/// <summary>
/// 称重日期
/// </summary>
public string WEIGHDATE { get; set; }
/// <summary>
/// VGM地址
/// </summary>
public string VGMADDR { get; set; }
/// <summary>
/// VGM邮箱
/// </summary>
public string VGMEMAIL { get; set; }
}
/// <summary>
/// 订舱文件同步数据到客户订舱系统dto
/// </summary>
public class BookingFileSyncCustomerDto
{
/// <summary>
/// ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 业务id
/// </summary>
public long BookingId { get; set; }
/// <summary>
/// 文件名称
/// </summary>
public string FileName { get; set; }
/// <summary>
/// 附件类型id
/// </summary>
public string TypeCode { get; set; }
/// <summary>
/// 附件类型
/// </summary>
public string TypeName { get; set; }
///// <summary>
///// 附件内容2023-9-11讨论后修改要买nas因此使用文件路径不再传文件
///// </summary>
//public byte[] FileContent { get; set; }
/// <summary>
/// 文件路径
/// </summary>
public string FilePath { get; set; }
}
/// <summary>
/// 订舱货运动态同步数据到客户订舱系统dto
/// </summary>
public class BookingStatusLogSyncCustomerDto
{
/// <summary>
/// ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 业务id
/// </summary>
public long? BookingId { get; set; }
/// <summary>
/// 状态
/// </summary>
public string Status { get; set; }
/// <summary>
/// 状态时间
/// </summary>
public DateTime? OpTime { get; set; }
/// <summary>
/// 类别
/// </summary>
public string Category { get; set; }
/// <summary>
/// 状态分类
/// </summary>
public string Type { get; set; }
/// <summary>
/// 提单号
/// </summary>
public string MBLNO { get; set; }
/// <summary>
/// 明细
/// </summary>
public List<BookingStatusLogDetailSyncCustomerDto> Details { get; set; }
}
/// <summary>
/// 订舱货运动态明细同步数据到客户订舱系统dto
/// </summary>
public class BookingStatusLogDetailSyncCustomerDto
{
/// <summary>
/// ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 状态
/// </summary>
public string Status { get; set; }
/// <summary>
/// 箱号
/// </summary>
public string CNTRNO { get; set; }
/// <summary>
/// 状态时间
/// </summary>
public DateTime? OPTime { get; set; }
}
/// <summary>
/// 订舱修改日志同步dto
/// </summary>
public class BookingLogSyncCustomerDto
{
/// <summary>
/// ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 操作类型(新增,编辑)
/// </summary>
public string Type { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public string CreatedTime { get; set; }
/// <summary>
/// 创建者名称
/// </summary>
public string CreatedUserName { get; set; }
/// <summary>
/// 详情明细
/// </summary>
public List<BookingLogDetailSyncCustomerDto> Details { get; set; }
}
//订舱修改日志详情同步dto
public class BookingLogDetailSyncCustomerDto
{
/// <summary>
/// 字段
/// </summary>
public string Field { get; set; }
/// <summary>
/// 原值
/// </summary>
public string OldValue { get; set; }
/// <summary>
/// 新值
/// </summary>
public string NewValue { get; set; }
}
/// <summary>
/// 货物状态同步DTO
/// </summary>
public class GoodsStatusSyncDto
{
/// <summary>
/// ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 状态代码
/// </summary>
public string Code { get; set; }
/// <summary>
/// 状态完成时间
/// </summary>
public string FinishTime { get; set; }
/// <summary>
/// 是否取消
/// </summary>
public bool IsCancel { get; set; } = false;
}
/// <summary>
/// 回推修改服务项目审核结果dto
/// </summary>
public class ChangeServiceItemResponseDto
{
/// <summary>
/// 客户端系统传递的dto
/// </summary>
public ChangeServiceItemDto Dto { get; set; }
/// <summary>
/// 审核人
/// </summary>
public string AuditName { get; set; }
/// <summary>
/// 是否驳回
/// </summary>
public bool IsReject { get; set; } = false;
/// <summary>
/// 处理结果说明
/// </summary>
public string ProcResult { get; set; }
}
/// <summary>
/// 回推手工修改服务项目dto
/// </summary>
public class DjyChangeServiceItemDto
{
/// <summary>
/// 客户端系统ID
/// </summary>
public string Id { get; set; }
/// <summary>
/// 服务项目代码
/// </summary>
public string ServiceCode { get; set; }
/// <summary>
/// 修改人
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 是否取消
/// </summary>
public bool IsCancel { get; set; } = false;
/// <summary>
/// 处理说明
/// </summary>
public string Remark { get; set; }
}
/// <summary>
/// 回推单证补料审核结果dto
/// </summary>
public class DocSupplementResponseDto
{
/// <summary>
/// 客户端系统传递的dto
/// </summary>
public DocSupplementSubmitDto Dto { get; set; }
/// <summary>
/// 审核人
/// </summary>
public string AuditName { get; set; }
/// <summary>
/// 是否驳回
/// </summary>
public bool IsReject { get; set; } = false;
/// <summary>
/// 处理结果说明
/// </summary>
public string ProcResult { get; set; }
}
}