using DS.Module.Core.Data; using SqlSugar; using System.ComponentModel; namespace DS.WMS.Core.Op.Entity; /// /// 海运出口提单信息 /// [SqlSugar.SugarTable("op_sea_export_billmanage", "海运出口提单信息")] public class SeaExportBillManage : BaseOrgModel { /// /// 业务Id /// [SqlSugar.SugarColumn(ColumnDescription = "业务Id", IsNullable = false, DefaultValue = "0")] public long BusinessId { get; set; } //TODO 提单状态 船证签发状态 扣单状态 //public int BusinessId { get; set; } /// /// 主提单号 /// [SqlSugar.SugarColumn(ColumnDescription = "主提单号", IsNullable = true, Length = 30)] public string MBLNO { get; set; } /// /// 分提单号 /// [SqlSugar.SugarColumn(ColumnDescription = "分提单号", IsNullable = true, Length = 30)] public string HBLNO { get; set; } ///// ///// 模板Id ///// //[SugarColumn(ColumnDescription = "模板Id")] //public long TemplateId { get; set; } /// /// 提单类型 /// [SugarColumn(ColumnDescription = "提单类型", IsNullable = true,DefaultValue ="0")] public string BillType { get; set; } /// /// 发货人 t_info_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "发货人", IsNullable = true)] public long? ShipperId { get; set; } /// /// 发货人内容 /// [SqlSugar.SugarColumn(ColumnDescription = "发货人内容", IsNullable = true, Length = 600)] public string ShipperContent { get; set; } /// /// 发货人企业代码 /// [SqlSugar.SugarColumn(ColumnDescription = "发货人企业代码", IsNullable = true, Length = 50)] public string ShipperCode { get; set; } /// /// 发货人国家代码 /// [SqlSugar.SugarColumn(ColumnDescription = "发货人国家代码", IsNullable = true, Length = 10)] public string ShipperCountry { get; set; } /// /// 发货人电话 /// [SqlSugar.SugarColumn(ColumnDescription = "发货人电话", IsNullable = true, Length = 50)] public string ShipperTel { get; set; } /// /// 发货人邮箱 /// [SqlSugar.SugarColumn(ColumnDescription = "发货人邮箱", IsNullable = true, Length = 50)] public string ShipperEmail { get; set; } /// /// 收货人 t_info_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "收货人", IsNullable = true)] public long? ConsigneeId { get; set; } /// /// 收货人内容 /// [SqlSugar.SugarColumn(ColumnDescription = "收货人内容", IsNullable = true, Length = 600)] public string ConsigneeContent { get; set; } /// /// 收货企业代码 /// [SqlSugar.SugarColumn(ColumnDescription = "收货人企业代码", IsNullable = true, Length = 50)] public string ConsigneeCode { get; set; } /// /// 收货人国家代码 /// [SqlSugar.SugarColumn(ColumnDescription = "收货人国家代码", IsNullable = true, Length = 10)] public string ConsigneeCountry { get; set; } /// /// 收货人电话 /// [SqlSugar.SugarColumn(ColumnDescription = "收货人电话", IsNullable = true, Length = 50)] public string ConsigneeTel { get; set; } /// /// 收货人邮箱 /// [SqlSugar.SugarColumn(ColumnDescription = "收货人邮箱", IsNullable = true, Length = 50)] public string ConsigneeEmail { get; set; } /// /// 通知人 t_info_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "通知人", IsNullable = true)] public long? NotifyPartyId { get; set; } /// /// 通知人内容 /// [SqlSugar.SugarColumn(ColumnDescription = "通知人内容", IsNullable = true, Length = 600)] public string NotifyPartyContent { get; set; } /// /// 通知企业代码 /// [SqlSugar.SugarColumn(ColumnDescription = "通知人企业代码", IsNullable = true, Length = 50)] public string NotifyPartyCode { get; set; } /// /// 通知人国家代码 /// [SqlSugar.SugarColumn(ColumnDescription = "通知人国家代码", IsNullable = true, Length = 10)] public string NotifyPartyCountry { get; set; } /// /// 通知人电话 /// [SqlSugar.SugarColumn(ColumnDescription = "通知人电话", IsNullable = true, Length = 50)] public string NotifyPartyTel { get; set; } /// /// 通知人邮箱 /// [SqlSugar.SugarColumn(ColumnDescription = "通知人邮箱", IsNullable = true, Length = 50)] public string NotifyPartyEmail { get; set; } /// /// 代理人 t_info_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "代理人", IsNullable = true)] public long? AgentId { get; set; } /// /// 代理人名称 /// [SqlSugar.SugarColumn(ColumnDescription = "代理人名称", IsNullable = true, Length = 100)] public string AgentName { get; set; } /// /// 代理人内容 /// [SqlSugar.SugarColumn(ColumnDescription = "代理人内容", IsNullable = true, Length = 600)] public string AgentContent { get; set; } /// /// 第二通知人 t_info_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "第二通知人", IsNullable = true)] public long? SecondNotifyPartyId { get; set; } /// /// 第二通知人内容 /// [SqlSugar.SugarColumn(ColumnDescription = "第二通知人内容", IsNullable = true, Length = 600)] public string SecondNotifyPartyContent { get; set; } /// /// 第二通知人企业代码 /// [SqlSugar.SugarColumn(ColumnDescription = "第二通知人企业代码", IsNullable = true, Length = 50)] public string SecondNotifyPartyCode { get; set; } /// /// 第二通知人国家代码 /// [SqlSugar.SugarColumn(ColumnDescription = "第二通知人国家代码", IsNullable = true, Length = 10)] public string SecondNotifyPartyCountry { get; set; } /// /// 第二通知人电话 /// [SqlSugar.SugarColumn(ColumnDescription = "第二通知人电话", IsNullable = true, Length = 50)] public string SecondNotifyPartyTel { get; set; } /// /// 第二通知人邮箱 /// [SqlSugar.SugarColumn(ColumnDescription = "第二通知人邮箱", IsNullable = true, Length = 50)] public string SecondNotifyPartyEmail { get; set; } /// /// 场站Id t_crm_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "场站Id", IsNullable = true)] public long YardId { get; set; } /// /// 场站 t_crm_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "场站", IsNullable = true, Length = 20)] public string Yard { 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; } /// /// 内部航次 /// [Description("内部航次")] [SqlSugar.SugarColumn(ColumnDescription = "内部航次", IsNullable = true, Length = 20)] public string InnerVoyno { get; set; } /// /// 开船日期 /// [SugarColumn(ColumnDescription = "开船日期", IsNullable = true)] public DateTime? ETD { get; set; } /// /// 预抵日期 /// [SugarColumn(ColumnDescription = "预抵日期", IsNullable = true)] public DateTime? ETA { get; set; } /// /// ATD /// [SugarColumn(ColumnDescription = "ATD", IsNullable = true)] public DateTime? ATD { get; set; } /// /// 截港日期 /// [SugarColumn(ColumnDescription = "截港日期", IsNullable = true)] public DateTime? ClosingDate { get; set; } /// /// 收货地点Id /// [SugarColumn(ColumnDescription = "收货地点Id", IsNullable = true, DefaultValue = "0")] public long ReceiptPlaceId { get; set; } /// /// 收货地点 /// [SugarColumn(ColumnDescription = "收货地点", IsNullable = true, Length = 60)] public string ReceiptPlace { get; set; } /// /// 装货港代码 /// [SugarColumn(ColumnDescription = "装货港代码", IsNullable = true)] public long LoadPortId { get; set; } /// /// 装货港 /// [SugarColumn(ColumnDescription = "装货港", IsNullable = true, Length = 60)] public string LoadPort { get; set; } /// /// 卸货港代码 /// [SugarColumn(ColumnDescription = "卸货港代码", IsNullable = true)] public long DischargePortId { get; set; } /// /// 卸货港 /// [SugarColumn(ColumnDescription = "卸货港", IsNullable = true, Length = 60)] public string DischargePort { get; set; } /// /// 交货地代码 /// [SugarColumn(ColumnDescription = "交货地代码", IsNullable = true)] public long DeliveryPlaceId { get; set; } /// /// 交货地 /// [SugarColumn(ColumnDescription = "交货地", IsNullable = true, Length = 60)] public string DeliveryPlace { get; set; } /// /// 目的地代码 /// [SugarColumn(ColumnDescription = "目的地代码", IsNullable = true)] public long DestinationId { get; set; } /// /// 目的地 /// [SugarColumn(ColumnDescription = "目的地", IsNullable = true, Length = 60)] public string Destination { get; set; } /// /// 提单份数 /// [SugarColumn(ColumnDescription = "提单份数", IsNullable = true, Length = 5)] public string NoBill { get; set; } /// /// 副本份数 /// [SugarColumn(ColumnDescription = "副本份数", IsNullable = true, Length = 5)] public string CopyNoBill { get; set; } /// /// 签单方式 t_code_issutype /// [SugarColumn(ColumnDescription = "签单方式", IsNullable = true, Length = 30)] public string IssueType { get; set; } /// /// 签单日期 /// [SugarColumn(ColumnDescription = "签单日期", IsNullable = true)] public DateTime? IssueDate { get; set; } /// /// 签单地点Id /// [SugarColumn(ColumnDescription = "签单地点Id", IsNullable = true, DefaultValue = "0")] public long IssuePlaceId { get; set; } /// /// 签单地点 /// [SugarColumn(ColumnDescription = "签单地点", IsNullable = true, Length = 60)] public string IssuePlace { get; set; } /// /// 签单状态 /// [SugarColumn(ColumnDescription = "签单状态", IsNullable = true)] public DateTime? BLIssueSatus { get; set; } /// /// 付款地点Id /// [SugarColumn(ColumnDescription = "付款地点Id", IsNullable = true, DefaultValue = "0")] public long PrepareAtId { get; set; } /// /// 预付地点 /// [SugarColumn(ColumnDescription = "预付地点", IsNullable = true, Length = 50)] public string PrepareAt { get; set; } /// /// 预付地点 /// [SugarColumn(ColumnDescription = "预付地点", IsNullable = true, Length = 50)] public string PayableAt { get; set; } /// /// 运输条款 CY-CY t_code_service /// [SugarColumn(ColumnDescription = "运输条款", IsNullable = true, Length = 50)] public string Service { 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 CntrSealNo { get; set; } /// /// 件数包装 /// [SugarColumn(ColumnDescription = "件数包装", IsNullable = true, Length = 120)] public string NoPkgs { get; set; } /// /// 货物描述 /// [SugarColumn(ColumnDescription = "货物描述", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] public string Description { get; set; } /// /// 品名 t_code_goods /// [SugarColumn(ColumnDescription = "品名", IsNullable = true, Length = 30)] public string GoodsName { get; set; } /// /// 货物毛重 /// [SugarColumn(ColumnDescription = "货物毛重", IsNullable = true, Length = 600)] public string GrossWeight { get; set; } /// /// 货物尺码 /// [SugarColumn(ColumnDescription = "货物尺码", IsNullable = true, Length = 600)] public string Measurement { get; set; } /// /// 件数 /// [SugarColumn(ColumnDescription = "件数", IsNullable = true)] public int? PKGS { get; set; } /// /// 包装 t_code_package /// [SugarColumn(ColumnDescription = "包装", IsNullable = true, Length = 50)] public string KindPkgs { get; set; } /// /// 包装名称 t_code_package /// [SugarColumn(ColumnDescription = "包装名称", IsNullable = true, Length = 50)] public string KindPkgsName { get; set; } /// /// 毛重 /// [SugarColumn(ColumnDescription = "毛重", IsNullable = true, Length = 18, DecimalDigits = 4, DefaultValue = "0")] public decimal? KGS { get; set; } /// /// 尺码 /// [SugarColumn(ColumnDescription = "尺码", IsNullable = true, Length = 18, DecimalDigits = 4, DefaultValue = "0")] public decimal? CBM { get; set; } /// /// 件数大写 /// [SugarColumn(ColumnDescription = "件数大写", IsNullable = true, Length = 100)] public string TotalNo { get; set; } /// /// 集装箱大写 /// [SugarColumn(ColumnDescription = "集装箱大写", IsNullable = true, Length = 1000)] public string CntrNo { get; set; } /// /// Desc:MBL付费方式 t_code_frt /// [SugarColumn(ColumnDescription = "MBL付费方式", IsNullable = true, Length = 20)] public string MBLFrt { 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 OrderContent { get; set; } /// /// 国内发货人 t_info_client CUSTNAME /// [Description("国内发货人Id")] [SqlSugar.SugarColumn(ColumnDescription = "发货人Id", IsNullable = true)] public long? ShipperCnId { get; set; } /// /// 国内发货人 t_info_client CUSTNAME /// [Description("国内发货人")] [SqlSugar.SugarColumn(ColumnDescription = "国内发货人", IsNullable = true, Length = 100)] public string ShipperCn { get; set; } /// /// 提单确认方Id /// [Description("提单确认方Id")] [SqlSugar.SugarColumn(ColumnDescription = "提单确认方Id", IsNullable = true, DefaultValue = "0")] public long? BLConfirmationId { get; set; } /// /// 提单确认人名称 /// [Description("提单确认方名称")] [SqlSugar.SugarColumn(ColumnDescription = "提单确认方名称", IsNullable = true, Length = 50)] public string BLConfirmationName { get; set; } /// /// 提单确认人邮箱 /// [Description("提单确认方邮箱")] [SqlSugar.SugarColumn(ColumnDescription = "提单确认方邮箱", IsNullable = true, Length = 100)] public string BLConfirmationEmail { get; set; } /// /// 发货人 t_info_client CUSTNAME /// [Description("发货人")] [SqlSugar.SugarColumn(ColumnDescription = "发货人", IsNullable = true, Length = 100)] public string Shipper { get; set; } /// /// 收货人 t_info_client CUSTNAME /// [Description("收货人")] [SqlSugar.SugarColumn(ColumnDescription = "收货人", IsNullable = true, Length = 100)] public string Consignee { get; set; } /// /// 通知人 t_info_client CUSTNAME /// [Description("通知人")] [SqlSugar.SugarColumn(ColumnDescription = "通知人", IsNullable = true, Length = 100)] public string NotifyParty { get; set; } /// /// 集装箱 /// [Description("集装箱")] [SugarColumn(ColumnDescription = "集装箱", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] public string CntrTotal { get; set; } /// /// 提单签发状态 /// [Description("提单签发状态")] [SugarColumn(ColumnDescription = "提单签发状态", IsNullable = true, DefaultValue = "0")] public int BLIssueStatus { get; set; } /// /// 提单签发状态名称 /// [Description("提单签发状态名称")] [SugarColumn(ColumnDescription = "提单签发状态名称", IsNullable = true, Length = 30)] public string BLIssueStatusName { get; set; } }