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