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.

539 lines
18 KiB
C#

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