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.

1287 lines
28 KiB
C#

using DS.Module.Core;
using FluentValidation;
using SqlSugar;
using System.ComponentModel;
namespace DS.WMS.Core.Op.Dtos;
/// <summary>
/// 海运出口信息请求实体
/// </summary>
public class SeaExportReq
{
/// <summary>
/// 主键Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// 箱信息
/// </summary>
public List<OpCtnReq> CtnInfo { get; set; }
/// <summary>
/// 箱型报价信息
/// </summary>
public List<BusinessCtnPriceReq> CtnPriceInfo { get; set; }
/// <summary>
/// Edi信息
/// </summary>
public SeaExportEdiReq EdiInfo { get; set; }
/// <summary>
/// 多品名信息
/// </summary>
public List<OpCtnGoodsReq> CtnGoodsInfo { get; set; }
/// <summary>
/// 主单Id
/// </summary>
public long ParentId { get; set; } = 0;
/// <summary>
/// 业务状态
/// </summary>
public string BusinessStatus { get; set; }
///// <summary>
///// 单据费用状态
///// </summary>
//public int BillFeeStatus { get; set; }
///// <summary>
///// 单据费用状态时间
///// </summary>
//public DateTime BillFeeStatusTime { get; set; }
///// <summary>
///// Desc:是否业务锁定
///// </summary>
//[SugarColumn(ColumnDescription = "是否业务锁定", DefaultValue = "0")]
//public bool? IsBusinessLocking { get; set; } = false;
///// <summary>
///// Desc:是否费用锁定
///// </summary>
//[SugarColumn(ColumnDescription = "是否费用锁定", DefaultValue = "0")]
//public bool? IsFeeLocking { get; set; } = false;
///// <summary>
///// 费用状态
///// </summary>
//public int FeeStatus { get; set; }
/// <summary>
/// 财务日期
/// </summary>
9 months ago
public string AccountDate { get; set; }
/// <summary>
/// 主提单号
/// </summary>
public string MBLNO { get; set; }
/// <summary>
/// 分提单号
/// </summary>
public string HBLNO { get; set; }
/// <summary>
/// 委托编号 可以根据规则生成
/// </summary>
public string CustomerNo { get; set; }
/// <summary>
/// 运单号 可以根据规则生成
/// </summary>
public string TransNo { get; set; }
/// <summary>
/// 委托单位Id
/// </summary>
public long CustomerId { get; set; }
/// <summary>
/// 委托单位 t_info_client CUSTNAME
/// </summary>
public string CustomerName { get; set; }
/// <summary>
/// 装运方式 整箱、拼箱单票、拼箱主票、拼箱分票
/// </summary>
public string BLType { get; set; }
/// <summary>
/// 发货人 t_info_client CUSTNAME
/// </summary>
public long? ShipperId { get; set; }
/// <summary>
/// 收货人 t_info_client CUSTNAME
/// </summary>
public long? ConsigneeId { get; set; }
/// <summary>
/// 通知人 t_info_client CUSTNAME
/// </summary>
public long? NotifyPartyId { get; set; }
/// <summary>
/// 国外代理人Id t_info_client CUSTNAME
/// </summary>
public long? AgentId { get; set; }
/// <summary>
/// 国外代理人 t_info_client CUSTNAME
/// </summary>
public string Agent { get; set; }
/// <summary>
/// 发货人内容
/// </summary>
public string ShipperContent { get; set; }
/// <summary>
/// 收货人内容
/// </summary>
public string ConsigneeContent { get; set; }
/// <summary>
/// 通知人内容
/// </summary>
public string NotifyPartyContent { get; set; }
/// <summary>
/// 国外代理内容
/// </summary>
public string AgentContent { get; set; }
/// <summary>
/// 场站Id t_crm_client CUSTNAME
/// </summary>
public long YardId { get; set; }
/// <summary>
/// 场站 t_crm_client CUSTNAME
/// </summary>
public string Yard { get; set; }
/// <summary>
/// 场站备注
/// </summary>
public string YardRemark { get; set; }
/// <summary>
/// 船名 t_code_vessel
/// </summary>
public string Vessel { get; set; }
/// <summary>
/// 船名Id t_code_vessel
/// </summary>
public long VesselId { get; set; }
/// <summary>
/// 航次
/// </summary>
public string Voyno { get; set; }
/// <summary>
/// 开船日期
/// </summary>
public DateTime? ETD { get; set; }
/// <summary>
/// 预抵日期
/// </summary>
public DateTime? ETA { get; set; }
/// <summary>
/// ATD
/// </summary>
public DateTime? ATD { get; set; }
/// <summary>
/// 截港日期
/// </summary>
public DateTime? ClosingDate { get; set; }
/// <summary>
/// 收货地
/// </summary>
public string ReceiptPlace { get; set; }
/// <summary>
/// 装货港Id
/// </summary>
public long ReceiptPlaceId { get; set; }
/// <summary>
/// 装货港代码
/// </summary>
public long LoadPortId { get; set; }
/// <summary>
/// 装货港
/// </summary>
public string LoadPort { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
public long DischargePortId { get; set; }
/// <summary>
/// 卸货港
/// </summary>
public string DischargePort { get; set; }
/// <summary>
/// 交货地代码
/// </summary>
public long DeliveryPlaceId { get; set; }
/// <summary>
/// 交货地
/// </summary>
public string DeliveryPlace { get; set; }
/// <summary>
/// 目的地代码
/// </summary>
public long 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>
/// 签单方式 t_code_issutype
/// </summary>
public string IssueType { get; set; }
/// <summary>
/// 签单日期
/// </summary>
public DateTime? IssueDate { get; set; }
/// <summary>
/// 签单地点Id
/// </summary>
public long IssuePlaceId { get; set; }
/// <summary>
/// 签单地点
/// </summary>
public string IssuePlace { get; set; }
/// <summary>
/// 签单状态
/// </summary>
public DateTime? BLIssueSatus { get; set; }
/// <summary>
/// 预付地点Id
/// </summary>
public long PrepareAtId { get; set; }
/// <summary>
/// 预付地点
/// </summary>
public string PrepareAt { get; set; }
/// <summary>
/// 付款地点
/// </summary>
public string PayableAt { get; set; }
/// <summary>
/// 运输条款 CY-CY t_code_service
/// </summary>
public string Service { get; set; }
/// <summary>
/// 唛头 N/M
/// </summary>
public string Marks { get; set; }
/// <summary>
/// 箱号封号
/// </summary>
public string CntrSealNo { get; set; }
/// <summary>
/// 件数包装
/// </summary>
public string NoPkgs { get; set; }
/// <summary>
/// 货物描述
/// </summary>
public string Description { get; set; }
/// <summary>
/// 品名Id
/// </summary>
public long GoodsId { get; set; }
/// <summary>
/// 品名 t_code_goods
/// </summary>
public string GoodsName { get; set; }
/// <summary>
/// 货物毛重
/// </summary>
public string GrossWeight { get; set; }
/// <summary>
/// 货物尺码
/// </summary>
public string Measurement { get; set; }
/// <summary>
/// 件数
/// </summary>
public int? PKGS { get; set; }
/// <summary>
/// 包装 t_code_package
/// </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 CntrNo { get; set; }
/// <summary>
/// 操作员
/// </summary>
public long OperatorId { get; set; }
/// <summary>
/// 客服
/// </summary>
public long CustomerService { get; set; }
/// <summary>
/// 外国客服
/// </summary>
public long ForeignCustomerService { get; set; }
/// <summary>
/// 航线Id
/// </summary>
public long LaneId { get; set; }
/// <summary>
/// 航线
/// </summary>
public string Lane { get; set; }
/// <summary>
/// 揽货人Id
/// </summary>
public long SaleId { get; set; }
/// <summary>
/// 揽货人
/// </summary>
public string Sale { get; set; }
/// <summary>
/// 船公司Id
/// </summary>
public long CarrierId { get; set; }
/// <summary>
/// 船公司
/// </summary>
public string Carrier { get; set; }
/// <summary>
/// 货代公司Id
/// </summary>
public long ForwarderId { get; set; }
/// <summary>
/// 货代公司
/// </summary>
public string Forwarder { get; set; }
/// <summary>
/// 报关行Id
/// </summary>
public long CustomserId { get; set; }
/// <summary>
/// 报关行
/// </summary>
public string Customser { get; set; }
/// <summary>
/// 承运车队Id
/// </summary>
public long TruckerId { get; set; }
/// <summary>
/// 承运车队
/// </summary>
public string Trucker { get; set; }
/// <summary>
/// 发票号
/// </summary>
public string InvoiceNo { get; set; }
/// <summary>
/// 货物标识 S/R/D/O
/// </summary>
public string CargoId { get; set; }
/// <summary>
/// 危险品分类
/// </summary>
public string DangerClass { get; set; }
/// <summary>
/// 危险品编号
/// </summary>
public string DangerNo { get; set; }
/// <summary>
/// 危险品页号
/// </summary>
public string DangerPage { get; set; }
/// <summary>
/// 危险品标签
/// </summary>
public string DangerLabel { get; set; }
/// <summary>
/// 冷藏通风量
/// </summary>
public string ReeferQuantity { get; set; }
/// <summary>
/// 温度单位
/// </summary>
public string TemperatureUnit { get; set; }
/// <summary>
/// 设置温度
/// </summary>
public string TemperatureSet { get; set; }
/// <summary>
/// 最低温度
/// </summary>
public string TemperatureMin { get; set; }
/// <summary>
/// 最高温度
/// </summary>
public string TemperatureMax { get; set; }
/// <summary>
/// Desc:业务来源Id
/// </summary>
public long SourceId { get; set; }
/// <summary>
/// Desc:业务来源明细Id
/// </summary>
public long SourceDetailId { get; set; }
/// <summary>
/// Desc:报关票数
/// </summary>
public int CustomsNum { get; set; } = 0;
/// <summary>
/// 运费协议号(约号)
/// </summary>
public string ContractNo { get; set; }
/// <summary>
/// 订舱类型
/// </summary>
public string BookingType { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string BookingNo { get; set; }
/// <summary>
/// Desc:保险人
/// </summary>
public string Insuranceer { get; set; }
/// <summary>
/// Desc:保险单号
/// </summary>
public string InsuranceNo { get; set; }
/// <summary>
/// Desc:保险金额
/// </summary>
public decimal? InsuranceAmount { get; set; }
/// <summary>
/// Desc:是否生成凭证
/// </summary>
public bool? IsVoucher { get; set; } = false;
/// <summary>
/// Desc:凭证号
/// </summary>
public string VoucherNo { get; set; }
/// <summary>
/// Desc:备注
/// </summary>
public string Remark { get; set; }
/// <summary>
/// Desc:熏蒸
/// </summary>
public bool? IsFumigation { get; set; } = false;
/// <summary>
/// Desc:仓储
/// </summary>
public bool? IsStorage { get; set; } = false;
/// <summary>
/// Desc:陆运
/// </summary>
public bool? IsLand { get; set; } = false;
/// <summary>
/// Desc:报关
/// </summary>
public bool? IsCustoms { get; set; } = false;
/// <summary>
/// Desc:报检
/// </summary>
public bool? IsInspection { get; set; } = false;
/// <summary>
/// Desc:订舱
/// </summary>
public bool? IsBooking { get; set; } = false;
/// <summary>
/// Desc:VGM
/// </summary>
public bool? IsVGM { get; set; } = false;
/// <summary>
/// Desc:使用代理
/// </summary>
public bool? IsAgent { get; set; } = false;
/// <summary>
/// Desc:分单签单
/// </summary>
public bool? IsHBLNO { get; set; } = false;
/// <summary>
/// Desc:服务项目9
/// </summary>
public bool? Service9 { get; set; } = false;
/// <summary>
/// Desc:服务项目10
/// </summary>
public bool? Service10 { get; set; } = false;
/// <summary>
/// Desc:单证
/// </summary>
public long Doc { get; set; }
/// <summary>
/// Desc:装箱类型
/// </summary>
public string PackingType { get; set; }
/// <summary>
/// Desc:仓库Id
/// </summary>
public long WareHouseId { get; set; }
/// <summary>
/// Desc:仓库
/// </summary>
public string WareHouse { get; set; }
/// <summary>
/// 截单日期
/// </summary>
public DateTime? CloseDocDate { get; set; }
/// <summary>
/// 集港日期
/// </summary>
public DateTime? IntoPortDocDate { get; set; }
/// <summary>
/// Desc:所属业务部门
/// </summary>
public long SaleDeptId { get; set; }
/// <summary>
/// Desc:MBL付费方式 t_code_frt
/// </summary>
public string MBLFrt { get; set; }
/// <summary>
/// Desc:结算方式
/// </summary>
public string StlName { get; set; }
/// <summary>
/// Desc:月结算时间
/// </summary>
public DateTime? StlDate { get; set; }
/// <summary>
/// Desc:委托方式
/// </summary>
public string OrderType { get; set; }
/// <summary>
/// Desc:订舱编号
/// </summary>
public string OrderNo { get; set; }
/// <summary>
/// Desc:操作员代码
/// </summary>
public string OperatorCode { get; set; }
/// <summary>
/// Desc:是否为操作
/// </summary>
public bool IsOperator { get; set; }
/// <summary>
/// Desc:操作员邮箱
/// </summary>
public string OperatorEmail { get; set; }
/// <summary>
/// Desc:操作员电话
/// </summary>
public string OperatorTel { get; set; }
/// <summary>
/// Desc:操作员传真
/// </summary>
public string OperatorFax { get; set; }
/// <summary>
/// Desc:场站自结
/// </summary>
public string FinancialStaffCode { get; set; }
/// <summary>
/// Desc:是否为财务
/// </summary>
public bool? IsFinancialStaff { get; set; } = false;
/// <summary>
/// Desc:财务邮箱
/// </summary>
public string FinancialStaffEmail { get; set; }
/// <summary>
/// Desc:财务电话
/// </summary>
public string FinancialStaffTel { get; set; }
/// <summary>
/// Desc:财务传真
/// </summary>
public string FinancialStaffFax { get; set; }
/// <summary>
/// Desc:业务来源代码
/// </summary>
public string SourceCode { get; set; }
/// <summary>
/// Desc:联系人
/// </summary>
public string LinkMan { get; set; }
/// <summary>
/// Desc:海关代码
/// </summary>
public string HSCode { get; set; }
/// <summary>
/// Desc:EDI备注
/// </summary>
public string EdiRemark { get; set; }
/// <summary>
/// Desc:邮件方案
/// </summary>
public long MailProjectId { get; set; }
/// <summary>
/// Desc:CSR/IR号
/// </summary>
public string IRCode { get; set; }
/// <summary>
/// Desc:服务合同号
/// </summary>
public string ServiceContractNo { get; set; }
/// <summary>
/// Desc:申请放箱号
/// </summary>
public string ApplyNo { get; set; }
/// <summary>
/// Desc:报关单号
/// </summary>
public string CustomNo { get; set; }
/// <summary>
/// Desc: 报关日期
/// </summary>
public DateTime? CustomDate { get; set; }
/// <summary>
/// 单位编码
/// </summary>
public long? EnterpriseId { get; set; }
/// <summary>
/// 单位
/// </summary>
public string Enterprise { get; set; }
/// <summary>
/// Desc:商检单号
/// </summary>
public string InspectionNo { get; set; }
/// <summary>
/// Desc:商检日期
/// </summary>
public DateTime? InspectionDate { get; set; }
/// <summary>
/// Desc:贸易条款
/// </summary>
public string TradeTerm { get; set; }
/// <summary>
/// Desc:贸易方式
/// </summary>
public string TermDelivery { get; set; }
/// <summary>
/// Desc:清关日期
/// </summary>
public DateTime? ClearCustomDate { get; set; }
/// <summary>
/// Desc:报检项目
/// </summary>
public string InsperctService { get; set; }
/// <summary>
/// 船代Id
/// </summary>
public long ShipAgencyId { get; set; }
/// <summary>
/// 船代
/// </summary>
public string ShipAgency { get; set; }
/// <summary>
/// Desc:湿度
/// </summary>
public string Humidity { get; set; }
/// <summary>
/// Master发货人
/// </summary>
public long? MasterShipperId { get; set; }
/// <summary>
/// Master收货人 t_info_client CUSTNAME
/// </summary>
public long? MasterConsigneeId { get; set; }
/// <summary>
/// Master通知人 t_info_client CUSTNAME
/// </summary>
public long? MasterNotifyPartyId { get; set; }
/// <summary>
/// Master收货人内容
/// </summary>
public string MasterConsigneeContent { get; set; }
/// <summary>
/// Master通知人内容
/// </summary>
public string MasterNotifyPartyContent { get; set; }
/// <summary>
/// Master发货人内容
/// </summary>
public string MasterShipperContent { get; set; }
/// <summary>
/// Master单描述
/// </summary>
public string MasterDescription { get; set; }
/// <summary>
/// Desc:是否SOC
/// </summary>
public bool? IsContainerSoc { get; set; } = false;
/// <summary>
/// Desc:运输状态
/// </summary>
public string TranStatus { get; set; }
/// <summary>
/// Desc:
/// </summary>
public string ManifestStatus { get; set; }
/// <summary>
/// 是否多品名
/// </summary>
public bool IsMoreGood { get; set; }
/// <summary>
/// 是否打印小票
/// </summary>
public bool IsPrintReceipt { get; set; }
// /// <summary>
// /// 是否取消
// /// </summary>
// [SugarColumn(ColumnDescription = "是否取消", DefaultValue = "0")]
// public bool IsCancel { get; set; }
//
// /// <summary>
// /// 是否TUI
// /// </summary>
// [SugarColumn(ColumnDescription = "是否TUI", DefaultValue = "0")]
// public bool IsTUI { get; set; }
/// <summary>
/// 船名 t_code_vessel
/// </summary>
public string Vessel2N { get; set; }
/// <summary>
/// 船名Id t_code_vessel
/// </summary>
public long VesselId2N { get; set; }
/// <summary>
/// 二程航次
/// </summary>
public string Voyno2N { get; set; }
/// <summary>
/// 交货日期
/// </summary>
public DateTime? DeliveryDate { get; set; }
/// <summary>
/// 场站联系人
/// </summary>
public string YardATTN { get; set; }
/// <summary>
/// 场站联系方式
/// </summary>
public string YardTel { get; set; }
/// <summary>
/// 销售公司Id
/// </summary>
public long SaleOrgId { get; set; }
/// <summary>
/// 中转港Id
/// </summary>
public long TransPortId { get; set; }
/// <summary>
/// 中转港
/// </summary>
public string TransPort { get; set; }
/// <summary>
/// 转运备注
/// </summary>
public string TransRemark { get; set; }
/// <summary>
/// 截单备注
/// </summary>
public string CloseDocRemark { get; set; }
/// <summary>
/// 订舱备注
/// </summary>
public string BookingRemark { get; set; }
/// <summary>
/// 预录
/// </summary>
public int PreRecord { get; set; } = 0;
/// <summary>
/// 备注
/// </summary>
public string Note { get; set; } = "";
7 months ago
/// <summary>
/// 中转港代码
/// </summary>
public string TransPortCode { get; set; }
7 months ago
/// <summary>
/// 第三付款地
/// </summary>
[SugarColumn(ColumnDescription = "第三付款地", IsNullable = true, Length = 50)]
public string ThirdPayAt { get; set; }
/// <summary>
/// 发货人 t_info_client CUSTNAME
/// </summary>
public string Shipper { get; set; }
/// <summary>
/// 收货人 t_info_client CUSTNAME
/// </summary>
public string Consignee { get; set; }
/// <summary>
/// 通知人 t_info_client CUSTNAME
/// </summary>
public string NotifyParty { get; set; }
/// <summary>
/// 内部航次
/// </summary>
public string InnerVoyno { get; set; }
/// <summary>
/// 第二通知人Id t_info_client CUSTNAME
/// </summary>
public long? SecondNotifyPartyId { get; set; }
/// <summary>
/// 第二通知人 t_info_client CUSTNAME
/// </summary>
public string SecondNotifyParty { get; set; }
/// <summary>
/// 第二通知人内容
/// </summary>
public string SecondNotifyPartyContent { get; set; }
/// <summary>
/// 委托单位联系人Id
/// </summary>
public long CustomerContactId { get; set; }
/// <summary>
/// 场站联系人Id
/// </summary>
public long YardContactId { get; set; }
/// <summary>
/// 车队联系人Id
/// </summary>
public long CarrierContactId { get; set; }
/// <summary>
/// 第三付款地Id
/// </summary>
public long ThirdPayAtId { get; set; }
/// <summary>
/// 付款地点Id
/// </summary>
public long PayableAtId { get; set; }
/// <summary>
/// 拆票或合票标志 1-拆票 2-合票
/// </summary>
public int SplitOrMergeFlag { get; set; }
/// <summary>
/// Desc:单证人员
/// </summary>
public string DocName { get; set; }
/// <summary>
/// 操作员名称
/// </summary>
public string OperatorName { get; set; }
/// <summary>
/// 客服名称
/// </summary>
public string CustomerServiceName { get; set; }
/// <summary>
/// 外国客服名称
/// </summary>
public string ForeignCustomerServiceName { get; set; }
/// <summary>
/// 截VGM时间
/// </summary>
public DateTime? VGMCloseDate { get; set; }
/// <summary>
/// 单证备注
/// </summary>
public string DocRemark { get; set; }
/// <summary>
/// 操作备注
/// </summary>
public string OperatorRemark { get; set; }
/// <summary>
/// 申请箱使
/// </summary>
public string ApplyCtnRemark { get; set; }
/// <summary>
/// 客户编号
/// </summary>
public string CustomerNum { get; set; }
/// <summary>
/// 国内发货人 t_info_client CUSTNAME
/// </summary>
public long? ShipperCnId { get; set; }
/// <summary>
/// 国内发货人 t_info_client CUSTNAME
/// </summary>
public string ShipperCn { get; set; }
/// <summary>
/// 装运方式代码 整箱、拼箱单票、拼箱主票、拼箱分票代码
/// </summary>
public string BLTypeCode { get; set; }
/// <summary>
/// Desc:结算方式代码
/// </summary>
public string StlCode { get; set; }
/// <summary>
/// Desc:贸易方式代码
/// </summary>
4 months ago
public string TermDeliveryCode { get; set; }
/// <summary>
/// Desc:贸易条款代码
/// </summary>
public string TradeTermCode { get; set; }
/// <summary>
/// 签单方式代码 t_code_issutype
/// </summary>
public string IssueTypeCode { get; set; }
/// <summary>
/// Desc:MBL付费方式代码 t_code_frt
/// </summary>
public string MBLFrtCode { get; set; }
/// <summary>
/// 运输条款代码 CY-CY t_code_service
/// </summary>
public string ServiceCode { get; set; }
/// <summary>
/// 收货地代码
/// </summary>
public string ReceiptPlaceCode { get; set; }
/// <summary>
/// 装货港代码
/// </summary>
public string LoadPortCode { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
public string DischargePortCode { get; set; }
/// <summary>
/// 交货地代码
/// </summary>
public string DeliveryPlaceCode { get; set; }
/// <summary>
/// 目的地代码
/// </summary>
public string DestinationCode { get; set; }
/// <summary>
/// 预付地点
/// </summary>
public string PayableAtCode { get; set; }
/// <summary>
/// 第三付款地代码
/// </summary>
public string ThirdPayAtCode { get; set; }
/// <summary>
/// 签单地点代码
/// </summary>
public string IssuePlaceCode { get; set; }
/// <summary>
/// 航线代码
/// </summary>
public string LaneCode { get; set; }
/// <summary>
/// 所属分部名称
/// </summary>
4 months ago
public string SaleOrgName { get; set; }
/// <summary>
/// 舱位类型
/// </summary>
public string ShippingSpaceType { get; set; }
/// <summary>
/// 出单方式
/// </summary>
public string IssuingWay { get; set; }
/// <summary>
/// 包装名称 t_code_package
/// </summary>
public string KindPkgsName { get; set; }
/// <summary>
/// 约主Id
/// </summary>
public long ContractClientId { get; set; }
/// <summary>
/// 约主名称
/// </summary>
public string ContractClientName { get; set; }
/// <summary>
/// 船司航线
/// </summary>
public string CarrierLane { get; set; }
/// <summary>
/// SO备注
/// </summary>
public string SORemark { get; set; }
/// <summary>
/// 签单要求
/// </summary>
public string IssueRemark { get; set; }
/// <summary>
/// 开港时间
/// </summary>
public DateTime? OpenPortDate { get; set; }
/// <summary>
/// Desc:业务来源名称
/// </summary>
4 months ago
public string SourceName { get; set; }
/// <summary>
/// Desc:业务来源明细名称
/// </summary>
4 months ago
public string SourceDetailName { get; set; }
/// <summary>
/// 航线人员Id
/// </summary>
public long? LanerId { get; set; }
/// <summary>
/// 航线人员名称
/// </summary>
public string Laner { get; set; }
/// <summary>
/// 所属业务部门名称
/// </summary>
public string SaleDeptName { get; set; }
/// <summary>
/// 服务项目
/// </summary>
public string? ServiceItem { get; set; }
/// <summary>
/// 危险品联系人
/// </summary>
public string DangerAttn { get; set; }
/// <summary>
/// 危险品电话
/// </summary>
public string DangerTel { get; set; }
/// <summary>
/// 货好时间-(只要年月日)
/// </summary>
[Description("货好时间")]
public Nullable<DateTime> GoodsCompleteTime { get; set; }
/// <summary>
/// 转运方式 RAIL,TRUCK,RAIL&TRUCK,SEEDER
/// </summary>
public string TransferWay { get; set; }
}
/// <summary>
/// 验证
/// </summary>
public class SeaExportReqValidator : AbstractValidator<SeaExportReq>
{
/// <summary>
/// 构造函数
/// </summary>
public SeaExportReqValidator()
{
//this.RuleFor(o => o.AccountDate)
// .NotEmpty().WithName("财务日期");
this.RuleFor(o => o.BLType)
.NotEmpty().WithName("装运方式");
}
}