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.

900 lines
22 KiB
C#

using Myshipping.Application.Service.BookingSlot.Dto;
using Myshipping.Core;
2 years ago
using System;
2 years ago
using System.Collections.Generic;
2 years ago
using System.ComponentModel;
2 years ago
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Application
2 years ago
{
/// <summary>
/// 订舱主表输入参数
/// </summary>
public class BookingOrderInput : PageInputBase
{
2 years ago
1 year ago
public virtual long Id { get; set; } = 0;
2 years ago
/// <summary>
/// 查询已删除
/// </summary>
public virtual bool ISDel { get; set; } = false;
2 years ago
/// <summary>
/// 首次查询标识
/// </summary>
public virtual bool firstFlag { get; set; } = false;
2 years ago
2 years ago
/// <summary>
2 years ago
/// 第三方系统编号
2 years ago
/// </summary>
public virtual string BSNO { get; set; }
2 years ago
/// <summary>
/// 业务状态
/// </summary>
public virtual string BSSTATUS { get; set; }
2 years ago
/// <summary>
/// 业务开始日期
2 years ago
/// </summary>
public virtual DateTime? BBSDATE { get; set; }
2 years ago
/// <summary>
/// 业务截止日期
2 years ago
/// </summary>
public virtual DateTime? EBSDATE { get; set; }
2 years ago
/// <summary>
/// 主提单号
/// </summary>
public virtual string MBLNO { get; set; }
2 years ago
/// <summary>
/// 分提单号
/// </summary>
public virtual string HBLNO { get; set; }
2 years ago
/// <summary>
2 years ago
/// 业务编号
2 years ago
/// </summary>
public virtual string BOOKINGNO { get; set; }
2 years ago
/// <summary>
/// 合约号
/// </summary>
public virtual string CONTRACTNO { get; set; }
2 years ago
/// <summary>
/// 客户合同号
/// </summary>
public virtual string SERVICECONTRACTNO { get; set; }
2 years ago
/// <summary>
/// 发货人
/// </summary>
public virtual string SHIPPER { get; set; }
2 years ago
/// <summary>
/// 收货人
/// </summary>
public virtual string CONSIGNEE { get; set; }
2 years ago
/// <summary>
/// 通知人
/// </summary>
public virtual string NOTIFYPARTY { get; set; }
2 years ago
/// <summary>
/// 第二通知人
/// </summary>
public virtual string NOTIFYPARTY2 { get; set; }
2 years ago
/// <summary>
/// 场站代码
/// </summary>
public virtual string YARDID { get; set; }
2 years ago
/// <summary>
/// 船舶呼号
/// </summary>
public virtual string VESSELID { get; set; }
2 years ago
/// <summary>
/// 船名
/// </summary>
public virtual string VESSEL { get; set; }
2 years ago
/// <summary>
/// 海关航次
/// </summary>
public virtual string VOYNO { get; set; }
2 years ago
/// <summary>
/// 内部航次
/// </summary>
public virtual string VOYNOINNER { get; set; }
2 years ago
/// <summary>
/// 开船日期开始
2 years ago
/// </summary>
public virtual DateTime? BETD { get; set; }
2 years ago
/// <summary>
/// 开船日期截止
2 years ago
/// </summary>
public virtual DateTime? EETD { get; set; }
2 years ago
/// <summary>
/// 实际开船日期开始
2 years ago
/// </summary>
public virtual DateTime? BATD { get; set; }
2 years ago
/// <summary>
/// 实际开船日期截止
2 years ago
/// </summary>
public virtual DateTime? EATD { get; set; }
2 years ago
/// <summary>
/// 截港日期开始
2 years ago
/// </summary>
public virtual DateTime? BCLOSINGDATE { get; set; }
2 years ago
/// <summary>
/// 截港日期截止
2 years ago
/// </summary>
public virtual DateTime? ECLOSINGDATE { get; set; }
/// <summary>
/// 截单日期开始
/// </summary>
public virtual DateTime? BCLOSEDOCDATE { get; set; }
/// <summary>
/// 截单日期截止
/// </summary>
public virtual DateTime? ECLOSEDOCDATE { get; set; }
2 years ago
/// <summary>
/// 截VGM时间开始
2 years ago
/// </summary>
public virtual DateTime? BCLOSEVGMDATE { get; set; }
/// <summary>
/// 截VGM时间截止
/// </summary>
public virtual DateTime? ECLOSEVGMDATE { get; set; }
/// <summary>
/// 预计到港日期开始
/// </summary>
public virtual DateTime? BETA { get; set; }
/// <summary>
/// 预计到港日期截止
/// </summary>
public virtual DateTime? EETA { get; set; }
2 years ago
/// <summary>
/// 收货地
/// </summary>
public virtual string PLACERECEIPT { get; set; }
2 years ago
/// <summary>
/// 起运港代码
/// </summary>
public virtual string PORTLOADID { get; set; }
2 years ago
/// <summary>
/// 起运港
/// </summary>
public virtual string PORTLOAD { get; set; }
2 years ago
/// <summary>
/// 卸货港代码
/// </summary>
public virtual string PORTDISCHARGEID { get; set; }
2 years ago
/// <summary>
/// 卸货港
/// </summary>
public virtual string PORTDISCHARGE { get; set; }
2 years ago
/// <summary>
/// 交货地代码
/// </summary>
public virtual string PLACEDELIVERYID { get; set; }
2 years ago
/// <summary>
/// 交货地
/// </summary>
public virtual string PLACEDELIVERY { get; set; }
2 years ago
/// <summary>
/// 目的地代码
/// </summary>
public virtual string DESTINATIONID { get; set; }
2 years ago
/// <summary>
/// 目的地
/// </summary>
public virtual string DESTINATION { get; set; }
2 years ago
/// <summary>
/// 提单份数
/// </summary>
public virtual string NOBILL { get; set; }
2 years ago
/// <summary>
/// 副本提单份数
/// </summary>
public virtual string COPYNOBILLL { get; set; }
2 years ago
/// <summary>
/// 签单方式
/// </summary>
public virtual string ISSUETYPE { get; set; }
2 years ago
/// <summary>
/// 签单日期
/// </summary>
public virtual DateTime? BISSUEDATE { get; set; }
/// <summary>
/// 签单日期
/// </summary>
public virtual DateTime? EISSUEDATE { get; set; }
2 years ago
/// <summary>
/// 签单地点代码
/// </summary>
public virtual string ISSUEPLACEID { get; set; }
2 years ago
/// <summary>
/// 签单地点
/// </summary>
public virtual string ISSUEPLACE { get; set; }
2 years ago
/// <summary>
/// 付费方式
/// </summary>
public virtual string BLFRT { get; set; }
2 years ago
/// <summary>
/// 预付地点
/// </summary>
public virtual string PREPARDAT { get; set; }
2 years ago
/// <summary>
/// 到付地点
/// </summary>
public virtual string PAYABLEAT { get; set; }
2 years ago
/// <summary>
/// 运输条款
/// </summary>
public virtual string SERVICE { get; set; }
2 years ago
/// <summary>
/// 唛头
/// </summary>
public virtual string MARKS { get; set; }
2 years ago
/// <summary>
/// HS代码
/// </summary>
public virtual string HSCODE { get; set; }
2 years ago
/// <summary>
/// 货描
/// </summary>
public virtual string DESCRIPTION { get; set; }
2 years ago
/// <summary>
/// 件数
/// </summary>
public virtual int PKGS { get; set; }
2 years ago
/// <summary>
/// 包装
/// </summary>
public virtual string KINDPKGS { get; set; }
2 years ago
/// <summary>
/// 毛重
/// </summary>
public virtual decimal KGS { get; set; }
2 years ago
/// <summary>
/// 尺码
/// </summary>
public virtual decimal CBM { get; set; }
2 years ago
/// <summary>
/// 件数大写
/// </summary>
public virtual string TOTALNO { get; set; }
2 years ago
/// <summary>
/// 集装箱
/// </summary>
public virtual string CNTRTOTAL { get; set; }
2 years ago
/// <summary>
/// 船公司代号
/// </summary>
public virtual string CARRIERID { get; set; }
2 years ago
/// <summary>
/// 船公司
/// </summary>
public virtual string CARRIER { get; set; }
2 years ago
/// <summary>
/// 货物标识
/// </summary>
public virtual string CARGOID { get; set; }
2 years ago
/// <summary>
/// 危险品类别
/// </summary>
public virtual string DCLASS { get; set; }
2 years ago
/// <summary>
/// 危险品编号
/// </summary>
public virtual string DUNNO { get; set; }
2 years ago
/// <summary>
/// 危险品页号
/// </summary>
public virtual string DPAGE { get; set; }
2 years ago
/// <summary>
/// 危险品标签
/// </summary>
public virtual string DLABEL { get; set; }
2 years ago
/// <summary>
/// 危险品联系人
/// </summary>
public virtual string LINKMAN { get; set; }
2 years ago
/// <summary>
/// 温度单位
/// </summary>
public virtual string TEMPID { get; set; }
2 years ago
/// <summary>
/// 设置温度
/// </summary>
public virtual string TEMPSET { get; set; }
2 years ago
/// <summary>
/// 通风度
/// </summary>
public virtual string REEFERF { get; set; }
2 years ago
/// <summary>
/// 湿度
/// </summary>
public virtual string HUMIDITY { get; set; }
2 years ago
/// <summary>
/// 最低温度
/// </summary>
public virtual string TEMPMIN { get; set; }
2 years ago
/// <summary>
/// 最高温度
/// </summary>
public virtual string TEMPMAX { get; set; }
2 years ago
/// <summary>
/// 是否SOC箱
/// </summary>
public bool? ISCONTAINERSOC { get; set; } = null;
2 years ago
/// <summary>
/// SO备注
/// </summary>
public virtual string SOREMARK { get; set; }
2 years ago
/// <summary>
/// SI备注
/// </summary>
public virtual string SIREMARK { get; set; }
2 years ago
/// <summary>
/// 场站备注
/// </summary>
public virtual string YARDREMARK { get; set; }
2 years ago
/// <summary>
/// 公司ID
/// </summary>
public virtual string COMPID { get; set; }
2 years ago
/// <summary>
/// 公司名称
/// </summary>
public virtual string COMPNAME { get; set; }
2 years ago
/// <summary>
/// 发货人名称
/// </summary>
public virtual string SHIPPERNAME { get; set; }
2 years ago
/// <summary>
/// 发货人地址1
/// </summary>
public virtual string SHIPPERADDR1 { get; set; }
2 years ago
/// <summary>
/// 发货人地址2
/// </summary>
public virtual string SHIPPERADDR2 { get; set; }
2 years ago
/// <summary>
/// 发货人地址3
/// </summary>
public virtual string SHIPPERADDR3 { get; set; }
2 years ago
/// <summary>
/// 发货人城市
/// </summary>
public virtual string SHIPPERCITY { get; set; }
2 years ago
/// <summary>
/// 发货人省份代码
/// </summary>
public virtual string SHIPPERPROVINCE { get; set; }
2 years ago
/// <summary>
/// 发货人邮编
/// </summary>
public virtual string SHIPPERPOSTCODE { get; set; }
2 years ago
/// <summary>
/// 发货人国家代码
/// </summary>
public virtual string SHIPPERCOUNTRY { get; set; }
2 years ago
/// <summary>
/// 发货人联系人
/// </summary>
public virtual string SHIPPERATTN { get; set; }
2 years ago
/// <summary>
/// 发货人电话
/// </summary>
public virtual string SHIPPERTEL { get; set; }
2 years ago
/// <summary>
/// 发货人名称
/// </summary>
public virtual string CONSIGNEENAME { get; set; }
2 years ago
/// <summary>
/// 发货人地址1
/// </summary>
public virtual string CONSIGNEEADDR1 { get; set; }
2 years ago
/// <summary>
/// 发货人地址2
/// </summary>
public virtual string CONSIGNEEADDR2 { get; set; }
2 years ago
/// <summary>
/// 发货人地址3
/// </summary>
public virtual string CONSIGNEEADDR3 { get; set; }
2 years ago
/// <summary>
/// 发货人城市
/// </summary>
public virtual string CONSIGNEECITY { get; set; }
2 years ago
/// <summary>
/// 发货人省份代码
/// </summary>
public virtual string CONSIGNEEPROVINCE { get; set; }
2 years ago
/// <summary>
/// 发货人邮编
/// </summary>
public virtual string CONSIGNEEPOSTCODE { get; set; }
2 years ago
/// <summary>
/// 发货人国家代码
/// </summary>
public virtual string CONSIGNEERCOUNTRY { get; set; }
2 years ago
/// <summary>
/// 发货人联系人
/// </summary>
public virtual string CONSIGNEEATTN { get; set; }
2 years ago
/// <summary>
/// 发货人电话
/// </summary>
public virtual string CONSIGNEETEL { get; set; }
2 years ago
/// <summary>
/// 通知人名称
/// </summary>
public virtual string NOTIFYPARTYNAME { get; set; }
2 years ago
/// <summary>
/// 通知人地址1
/// </summary>
public virtual string NOTIFYPARTYADDR1 { get; set; }
2 years ago
/// <summary>
/// 通知人地址2
/// </summary>
public virtual string NOTIFYPARTYADDR2 { get; set; }
2 years ago
/// <summary>
/// 通知人地址3
/// </summary>
public virtual string NOTIFYPARTYADDR3 { get; set; }
2 years ago
/// <summary>
/// 通知人城市
/// </summary>
public virtual string NOTIFYPARTYCITY { get; set; }
2 years ago
/// <summary>
/// 通知人省份代码
/// </summary>
public virtual string NOTIFYPARTYPROVINCE { get; set; }
2 years ago
/// <summary>
/// 通知人邮编
/// </summary>
public virtual string NOTIFYPARTYPOSTCODE { get; set; }
2 years ago
/// <summary>
/// 通知人国家代码
/// </summary>
public virtual string NOTIFYPARTYCOUNTRY { get; set; }
2 years ago
/// <summary>
/// 通知人联系人
/// </summary>
public virtual string NOTIFYPARTYATTN { get; set; }
2 years ago
/// <summary>
/// 通知人电话
/// </summary>
public virtual string NOTIFYPARTYTEL { get; set; }
2 years ago
/// <summary>
/// PO号
/// </summary>
public virtual string PONO { get; set; }
2 years ago
/// <summary>
/// 操作id
/// </summary>
public virtual string OPID { get; set; }
2 years ago
/// <summary>
/// 单证id
/// </summary>
public virtual string DOCID { get; set; }
2 years ago
/// <summary>
/// 操作
/// </summary>
public virtual string OP { get; set; }
2 years ago
/// <summary>
/// 单证
/// </summary>
public virtual string DOC { get; set; }
2 years ago
/// <summary>
/// 销售ID
/// </summary>
public virtual string SALEID { get; set; }
2 years ago
/// <summary>
/// 销售
/// </summary>
public virtual string SALE { get; set; }
2 years ago
/// <summary>
/// 客服ID
/// </summary>
public virtual string CUSTSERVICEID { get; set; }
2 years ago
/// <summary>
/// 客服
/// </summary>
public virtual string CUSTSERVICE { get; set; }
2 years ago
/// <summary>
/// 客户
/// </summary>
public virtual string CUSTOMERNAME { get; set; }
2 years ago
/// <summary>
/// 订舱代理
/// </summary>
public virtual string FORWARDER { get; set; }
2 years ago
/// <summary>
/// 船代
/// </summary>
public virtual string SHIPAGENCY { get; set; }
2 years ago
/// <summary>
/// 报关行
/// </summary>
public virtual string CUSTOMSER { get; set; }
2 years ago
/// <summary>
/// 车队
/// </summary>
public virtual string TRUCKER { get; set; }
2 years ago
/// <summary>
/// 国外代理
/// </summary>
public virtual string AGENTID { get; set; }
2 years ago
/// <summary>
/// 客户ID
2 years ago
/// </summary>
2 years ago
public virtual long? CUSTOMERID { get; set; }
2 years ago
/// <summary>
/// 订舱代理ID
/// </summary>
public virtual string FORWARDERID { get; set; }
2 years ago
/// <summary>
/// 船代ID
/// </summary>
public virtual string SHIPAGENCYID { get; set; }
2 years ago
/// <summary>
/// 报关行ID
/// </summary>
public virtual string CUSTOMSERID { get; set; }
2 years ago
/// <summary>
/// 车队ID
/// </summary>
public virtual string TRUCKERID { get; set; }
2 years ago
/// <summary>
/// 国外代理名称
/// </summary>
public virtual string AGENTNAME { get; set; }
2 years ago
/// <summary>
/// 委托方
/// </summary>
public virtual string WEITUO { get; set; }
2 years ago
/// <summary>
/// 收货人DOOR地址
/// </summary>
public virtual string CONSIGNEEDOORADDR { get; set; }
2 years ago
/// <summary>
/// 发货人DOOR地址
/// </summary>
public virtual string SHIPPERDOORADDR { get; set; }
2 years ago
/// <summary>
/// SCAC代码
/// </summary>
public virtual string SCACCODE { get; set; }
2 years ago
/// <summary>
/// ITN编号
/// </summary>
public virtual string ITNCODE { get; set; }
2 years ago
/// <summary>
/// 预付地点ID
/// </summary>
public virtual string PREPARDATID { get; set; }
2 years ago
/// <summary>
/// 到付地点ID
/// </summary>
public virtual string PAYABLEATID { get; set; }
2 years ago
/// <summary>
/// 订舱编号
2 years ago
/// </summary>
public virtual string CUSTNO { get; set; }
2 years ago
/// <summary>
/// 中转港代码
/// </summary>
public virtual string TRANSPORTID { get; set; }
2 years ago
/// <summary>
/// 中转港
/// </summary>
public virtual string TRANSPORT { get; set; }
2 years ago
/// <summary>
/// 第三付款地
/// </summary>
public virtual string THIRDPAYADDR { get; set; }
/// <summary>
/// 场站联系人
/// </summary>
public string YARDCONTRACT { get; set; }
2 years ago
/// <summary>
/// 场站联系人电话
/// </summary>
public virtual string YARDCONTRACTTEL { get; set; }
2 years ago
/// <summary>
/// 场站联系人邮箱
/// </summary>
public virtual string YARDCONTRACTEMAIL { get; set; }
2 years ago
/// <summary>
/// 费用自结
/// </summary>
public virtual bool FEESELF { get; set; }
2 years ago
2 years ago
/// <summary>
2 years ago
/// 航线代码(船公司)
2 years ago
/// </summary>
public virtual string LANECODE { get; set; }
2 years ago
2 years ago
/// <summary>
2 years ago
/// 航线名称(船公司)
2 years ago
/// </summary>
public virtual string LANENAME { get; set; }
2 years ago
/// <summary>
/// 付款方
/// </summary>
public virtual string FREIGHTPAYER { get; set; }
2 years ago
/// <summary>
2 years ago
/// 航线操作ID
2 years ago
/// </summary>
public string ROUTEID { get; set; }
/// <summary>
2 years ago
/// 航线操作
2 years ago
/// </summary>
public string ROUTE { get; set; }
/// <summary>
/// 录入人
/// </summary>
public string CreatedUserName { get; set; }
/// <summary>
/// 封号
/// </summary>
public string SEALNO { get; set; }
/// <summary>
/// 箱号
/// </summary>
public string CNTRNO { get; set; }
2 years ago
/// <summary>
/// 航线
/// </summary>
public string LineName { get; set; }
2 years ago
/// <summary>
/// 真提单号
/// </summary>
public string TMBLNO { get; set; }
/// <summary>
/// 装运方式 整箱/拼箱
/// </summary>
public string ShippingMethod { get; set; }
/// <summary>
/// 航线管理
/// </summary>
public string LineManage { get; set; }
/// <summary>
/// 航线管理ID
/// </summary>
public string LineManageID { get; set; }
2 years ago
/// <summary>
/// 单证备注
/// </summary>
public string DZRemark { get; set; }
/// <summary>
/// 操作备注
/// </summary>
public string CZRemark { get; set; }
2 years ago
/// <summary>
/// 是否占舱
/// </summary>
public string ZhanCangFlag { get; set; }
2 years ago
/// <summary>
/// 销售部门
/// </summary>
public long? OrgSale { get; set; }
2 years ago
/// <summary>
/// 操作部门
/// </summary>
public long? OrgOp { get; set; }
/// <summary>
/// 业务状态名称
/// </summary>
public string BSSTATUSNAME { get; set; }
/// <summary>
/// 删除时间开始
/// </summary>
public DateTime? BDELETETIME { get; set; }
/// <summary>
/// 删除时间截止
/// </summary>
public DateTime? EDELETETIME { get; set; }
2 years ago
}
12 months ago
public class BookingOrderInputNew : BookingOrderInput
{
/// <summary>
/// 要显示的列
/// </summary>
public List<string> ShowColumns { get; set; } = new List<string>();
}
public class SaveBookingOrderInput : BookingOrderDto
2 years ago
{
/// <summary>
/// 新建单据时,上传的未关联到订舱数据的临时附件
/// </summary>
public List<BookingFileTempDto> TempFiles { get; set; }
1 year ago
/// <summary>
/// 已修改的字段
/// </summary>
public List<string> ChangedFields { get; set; }
/// <summary>
/// 引入的舱位列表
/// </summary>
public List<BookingSlotBaseWithCtnDto> Slots { get; set; }
2 years ago
}
/// <summary>
/// 订舱临时文件dto
/// </summary>
public class BookingFileTempDto
2 years ago
{
/// <summary>
/// 上传文件时返回的文件名称(带临时路径)
/// </summary>
public string TempPathName { get; set; }
2 years ago
/// <summary>
/// 文件类型代码
/// </summary>
public string TypeCode { get; set; }
2 years ago
/// <summary>
/// 文件类型名
/// </summary>
public string TypeName { get; set; }
}
2 years ago
}