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