using DS.Module.Core.Data; using SqlSugar; using System.ComponentModel; namespace DS.WMS.Core.Op.Entity; /// /// 海运出口舱单信息 /// [SqlSugar.SugarTable("op_sea_export_shippingbill", "海运出口舱单信息")] public class SeaExportShippingBill : BaseModel { /// /// 业务Id /// [SqlSugar.SugarColumn(ColumnDescription = "业务Id", IsNullable = false, Length = 100)] public long BusinessId { get; set; } /// /// 是否分单 /// [SqlSugar.SugarColumn(ColumnDescription = "是否分单", IsNullable = true,DefaultValue ="0")] public bool IsPart { get; set; } = false; /// /// 主提单号 /// [SqlSugar.SugarColumn(ColumnDescription = "主提单号", IsNullable = true, Length = 30)] public string MBLNO { get; set; } /// /// 分提单号 /// [SqlSugar.SugarColumn(ColumnDescription = "分提单号", IsNullable = true, Length = 30)] public string HBLNO { get; set; } /// /// 开船日期 /// [SugarColumn(ColumnDescription = "开船日期", IsNullable = true)] public DateTime? ETD { get; set; } /// /// 货代公司Id /// [SugarColumn(ColumnDescription = "货代公司Id", IsNullable = true, DefaultValue = "0")] public long ForwarderId { get; set; } /// /// 货代公司 /// [SugarColumn(ColumnDescription = "货代公司", IsNullable = true, Length = 100)] public string Forwarder { get; set; } /// /// 船名 t_code_vessel /// [SqlSugar.SugarColumn(ColumnDescription = "船名", IsNullable = true, Length = 60)] public string Vessel { get; set; } /// /// 船名Id t_code_vessel /// [SqlSugar.SugarColumn(ColumnDescription = "船名Id", IsNullable = true, DefaultValue = "0")] public long VesselId { get; set; } /// /// 海关航次 /// [SqlSugar.SugarColumn(ColumnDescription = "海关航次", IsNullable = true, Length = 20)] public string Voyno { get; set; } /// /// 内部航次 /// [SqlSugar.SugarColumn(ColumnDescription = "内部航次", IsNullable = true, Length = 20)] public string InnerVoyno { get; set; } /// /// 船公司Id /// [SugarColumn(ColumnDescription = "船公司Id", IsNullable = true, DefaultValue = "0")] public long CarrierId { get; set; } /// /// 船公司EDICode /// [SugarColumn(ColumnDescription = "船公司EDICode", IsNullable = true, Length = 100)] public string Carrier { get; set; } /// /// 船公司名称 /// [SugarColumn(ColumnDescription = "船公司名称", IsNullable = true, Length = 100)] public string CarrierName { get; set; } /// /// 发货人 t_info_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "发货人", IsNullable = true)] public long? ShipperId { get; set; } /// /// 收货人 t_info_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "收货人", IsNullable = true)] public long? ConsigneeId { get; set; } /// /// 通知人 t_info_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "通知人", IsNullable = true)] public long? NotifyPartyId { get; set; } /// /// 发货人名称 /// [SugarColumn(ColumnDescription = "发货人名称", IsNullable = true, Length = 50)] public string ShipperName { get; set; } /// /// 发货人地址 /// [SugarColumn(ColumnDescription = "发货人地址", IsNullable = true, Length = 100)] public string ShipperAddress { get; set; } /// /// 发货人国家code /// [SugarColumn(ColumnDescription = "发货人国家code", IsNullable = true, Length = 50)] public string ShipperCountry { get; set; } /// /// 发货人国家 /// [SugarColumn(ColumnDescription = "发货人国家", IsNullable = true, Length = 50)] public string ShipperCountryName { get; set; } /// /// 发货人电话 /// [SugarColumn(ColumnDescription = "发货人电话", IsNullable = true, Length = 50)] public string ShipperTel { get; set; } /// /// 收货人名称 /// [SugarColumn(ColumnDescription = "收货人名称", IsNullable = true, Length = 50)] public string ConsigneeName { get; set; } /// /// 收货人地址 /// [SugarColumn(ColumnDescription = "收货人地址", IsNullable = true, Length = 100)] public string ConsigneeAddress { get; set; } /// /// 收货人国家code /// [SugarColumn(ColumnDescription = "收货人国家code", IsNullable = true, Length = 50)] public string ConsigneeCountry { get; set; } /// /// 收货人国家 /// [SugarColumn(ColumnDescription = "收货人国家", IsNullable = true, Length = 50)] public string ConsigneeCountryName { get; set; } /// /// 收货人电话 /// [SugarColumn(ColumnDescription = "收货人电话", IsNullable = true, Length = 50)] public string ConsigneeTel { get; set; } /// /// 通知人名称 /// [SugarColumn(ColumnDescription = "通知人名称", IsNullable = true, Length = 50)] public string NotifyPartyName { get; set; } /// /// 通知人地址 /// [SugarColumn(ColumnDescription = "通知人地址", IsNullable = true, Length = 100)] public string NotifyPartyAddress { get; set; } /// /// 通知人国家code /// [SugarColumn(ColumnDescription = "通知人国家code", IsNullable = true, Length = 50)] public string NotifyPartyCountry { get; set; } /// /// 通知人国家 /// [SugarColumn(ColumnDescription = "通知人国家", IsNullable = true, Length = 50)] public string NotifyPartyCountryName { get; set; } /// /// 通知人电话 /// [SugarColumn(ColumnDescription = "通知人电话", IsNullable = true, Length = 50)] public string NotifyPartyTel { get; set; } /// /// 装货港Id /// [SugarColumn(ColumnDescription = "装货港Id", IsNullable = true)] public long LoadPortId { get; set; } /// /// 装货港代码 /// [SugarColumn(ColumnDescription = "装货港代码", IsNullable = true, Length = 60)] public string LoadPortCode { get; set; } /// /// 装货港 /// [SugarColumn(ColumnDescription = "装货港", IsNullable = true, Length = 60)] public string LoadPort { get; set; } /// /// 卸货港Id /// [SugarColumn(ColumnDescription = "卸货港Id", IsNullable = true)] public long DischargePortId { get; set; } /// /// 卸货港代码 /// [SugarColumn(ColumnDescription = "卸货港代码", IsNullable = true, Length = 60)] public string DischargePortCode { get; set; } /// /// 卸货港 /// [SugarColumn(ColumnDescription = "卸货港", IsNullable = true, Length = 60)] public string DischargePort { get; set; } /// /// 收货地Id /// [SugarColumn(ColumnDescription = "收货地Id", IsNullable = true)] public long DeliveryPlaceId { get; set; } /// /// 收货地代码 /// [SugarColumn(ColumnDescription = "收货地代码", IsNullable = true, Length = 60)] public string DeliveryPlaceCode { get; set; } /// /// 收货地 /// [SugarColumn(ColumnDescription = "收货地", IsNullable = true, Length = 60)] public string DeliveryPlace { get; set; } /// /// 场站Id t_crm_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "场站Id", IsNullable = true, DefaultValue = "0")] public long YardId { get; set; } /// /// 场站 t_crm_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "场站", IsNullable = true, Length = 100)] public string Yard { get; set; } /// /// 场站代码 t_crm_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "场站代码", IsNullable = true, Length = 100)] public string YardCode { get; set; } /// /// 唛头 N/M /// [SugarColumn(ColumnDescription = "唛头", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] public string Marks { get; set; } /// /// 货物描述 /// [SugarColumn(ColumnDescription = "货物描述", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] public string Description { get; set; } /// /// 货物标识 S/R/D/O /// [SugarColumn(ColumnDescription = "货物标识 S/R/D/O", IsNullable = true, Length = 1)] public string CargoId { get; set; } /// /// 设置温度 /// [SugarColumn(ColumnDescription = "设置温度", IsNullable = true, Length = 5)] public string TemperatureSet { get; set; } /// /// 温度单位 /// [SugarColumn(ColumnDescription = "温度单位", IsNullable = true, Length = 1)] public string TemperatureUnit { get; set; } /// /// 冷藏通风量 /// [SugarColumn(ColumnDescription = "冷藏通风量", IsNullable = true, Length = 10)] public string ReeferQuantity { get; set; } /// /// 危险品分类 /// [SugarColumn(ColumnDescription = "危险品分类", IsNullable = true, Length = 5)] public string DangerClass { get; set; } /// /// 危险品编号 /// [SugarColumn(ColumnDescription = "危险品编号", IsNullable = true, Length = 16)] public string DangerNo { get; set; } /// /// 危险品联系人 /// [SugarColumn(ColumnDescription = "危险品联系人", IsNullable = true, Length = 30)] public string DangerAttn { get; set; } /// /// 危险品电话 /// [SugarColumn(ColumnDescription = "危险品电话", IsNullable = true, Length = 30)] public string DangerTel { get; set; } /// /// 包装 t_code_package /// [SugarColumn(ColumnDescription = "包装", IsNullable = true, Length = 20)] public string KindPkgs { get; set; } /// /// Desc:备注 /// [SugarColumn(ColumnDescription = "备注", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] public string Remark { get; set; } /// /// Desc:发送备注 /// [SugarColumn(ColumnDescription = "发送备注", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] public string SendRemark { get; set; } /// /// 状态 /// [SugarColumn(ColumnDescription = "状态", IsNullable = true, Length = 20)] public string State { get; set; } }