using DS.Module.Core.Data; using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Op.Entity.BLManage { /// /// 提单管理主信息 /// [SqlSugar.SugarTable("op_sea_bl_issue_base", "提单管理主信息")] public class BLManageBase : BaseModel { /// /// 订舱主键,关联订舱主表ID /// [SqlSugar.SugarColumn(ColumnDescription = "订舱主键", IsNullable = true)] public long BookingId { get; set; } /// /// 业务类型(SeaExport-海运出口) /// [SqlSugar.SugarColumn(ColumnDescription = "业务类型", Length = 20, IsNullable = true)] public string BusiType { get; set; } /// /// 业务类型名称(SeaExport-海运出口) /// [SqlSugar.SugarColumn(ColumnDescription = "业务类型名称", Length = 50, IsNullable = true)] public string BusiTypeName { get; set; } /// /// 单证编号 /// [SqlSugar.SugarColumn(ColumnDescription = "单证编号", Length = 64, IsNullable = true)] public string BLNo { get; set; } /// /// 单证类型 /// [SqlSugar.SugarColumn(ColumnDescription = "单证类型", Length = 20, IsNullable = true)] public string BLType { get; set; } /// /// 单证类型名称 /// [SqlSugar.SugarColumn(ColumnDescription = "单证类型名称", Length = 50, IsNullable = true)] public string BLTypeName { get; set; } /// /// 结算日期 /// [SqlSugar.SugarColumn(ColumnDescription = "结算日期", IsNullable = true)] public Nullable StlDate { get; set; } /// /// 提单签发状态代码 /// [SqlSugar.SugarColumn(ColumnDescription = "提单签发状态代码", Length = 20, IsNullable = true)] public string Status { get; set; } /// /// 提单签发状态名称 /// [SqlSugar.SugarColumn(ColumnDescription = "提单签发状态名称", Length = 50, IsNullable = true)] public string StatusName { get; set; } /// /// 委托单位Id /// [SqlSugar.SugarColumn(ColumnDescription = "委托单位Id", IsNullable = false)] public long CustomerId { get; set; } /// /// 委托单位 /// [SqlSugar.SugarColumn(ColumnDescription = "委托单位", IsNullable = true, Length = 50)] public string CustomerName { get; set; } /// /// 揽货人Id /// [SugarColumn(ColumnDescription = "揽货人Id", IsNullable = true, DefaultValue = "0")] public long SaleId { get; set; } /// /// 揽货人 /// [SugarColumn(ColumnDescription = "揽货人", IsNullable = true, Length = 100)] public string Sale { get; set; } /// /// 签入日期 /// [SqlSugar.SugarColumn(ColumnDescription = "签入日期", IsNullable = true)] public Nullable CheckInDate { get; set; } /// /// 签入备注 /// [SqlSugar.SugarColumn(ColumnDescription = "签入备注", IsNullable = true, Length = 500)] public string CheckInNote { get; set; } /// /// 签入人 /// [SqlSugar.SugarColumn(ColumnDescription = "签入人", IsNullable = true)] public long CheckInBy { get; set; } /// /// 签入人名称 /// [SqlSugar.SugarColumn(ColumnDescription = "签入人名称", IsNullable = true)] public string CheckInUserName { get; set; } /// /// 是否特殊放单 /// [SqlSugar.SugarColumn(ColumnDescription = "是否特殊放单", IsNullable = true, DefaultValue = "0")] public bool IsSpecialRelese { get; set; } /// /// 特殊放单状态代码 /// [SqlSugar.SugarColumn(ColumnDescription = "特殊放单状态代码", Length = 20, IsNullable = true)] public string SpecialReleseStatus { get; set; } /// /// 特殊放单状态名称 /// [SqlSugar.SugarColumn(ColumnDescription = "特殊放单状态名称", Length = 50, IsNullable = true)] public string SpecialReleseStatusName { get; set; } /// /// 特殊放单备注 /// [SqlSugar.SugarColumn(ColumnDescription = "特殊放单备注", Length = 500, IsNullable = true)] public string SpecialReleseNotes { get; set; } /// /// 是否船证 /// [SqlSugar.SugarColumn(ColumnDescription = "是否特殊放单", IsNullable = true, DefaultValue = "0")] public bool IsShipCertificate { get; set; } /// /// 开船日期 /// [SugarColumn(ColumnDescription = "开船日期", IsNullable = true)] public DateTime? ETD { get; set; } /// /// 预抵日期 /// [SugarColumn(ColumnDescription = "预抵日期", IsNullable = true)] public DateTime? ETA { get; set; } /// /// 协议天数 /// [SqlSugar.SugarColumn(ColumnDescription = "协议天数", IsNullable = true)] public Nullable AgreementDays { get; set; } /// /// 超期天数 /// [SqlSugar.SugarColumn(ColumnDescription = "超期天数", IsNullable = true)] public Nullable OverdueDays { get; set; } /// /// 实际天数 /// [SqlSugar.SugarColumn(ColumnDescription = "实际天数", IsNullable = true)] public Nullable RealDays { get; set; } /// /// 不含税应收款总计 /// [SqlSugar.SugarColumn(ColumnDescription = "不含税应收款总计", Length = 18, DecimalDigits = 3, IsNullable = true)] public decimal NoTaxReceivableTotal { get; set; } /// /// 不含税应付款总计 /// [SqlSugar.SugarColumn(ColumnDescription = "不含税应付款总计", Length = 18, DecimalDigits = 3, IsNullable = true)] public decimal NoTaxPayableTotal { get; set; } /// /// 不含税利润总计 /// [SqlSugar.SugarColumn(ColumnDescription = "不含税利润总计", Length = 18, DecimalDigits = 3, IsNullable = true)] public decimal NoTaxProfitTotal { get; set; } /// /// 不含税人民币应收款 /// [SqlSugar.SugarColumn(ColumnDescription = "不含税利润总计", Length = 18, DecimalDigits = 3, IsNullable = true)] public decimal NoTaxReceivableCNY { get; set; } /// /// 不含税人民币应付款 /// [SqlSugar.SugarColumn(ColumnDescription = "不含税利润总计", Length = 18, DecimalDigits = 3, IsNullable = true)] public decimal NoTaxPayableCNY { get; set; } /// /// 不含税人民币利润 /// [SqlSugar.SugarColumn(ColumnDescription = "不含税利润总计", Length = 18, DecimalDigits = 3, IsNullable = true)] public decimal NoTaxProfitCNY { get { return NoTaxReceivableCNY - NoTaxPayableCNY; } } /// /// 不含税美元应收款 /// [SqlSugar.SugarColumn(ColumnDescription = "不含税利润总计", Length = 18, DecimalDigits = 3, IsNullable = true)] public decimal NoTaxReceivableUSD { get; set; } /// /// 不含税美元应付款 /// [SqlSugar.SugarColumn(ColumnDescription = "不含税美元应付款", Length = 18, DecimalDigits = 3, IsNullable = true)] public decimal NoTaxPayableUSD { get; set; } /// /// 不含税美元利润 /// [SqlSugar.SugarColumn(ColumnDescription = "不含税美元利润", Length = 18, DecimalDigits = 3, IsNullable = true)] public decimal NoTaxProfitUSD { get { return NoTaxReceivableUSD - NoTaxPayableUSD; } } /// /// 不含税其他币种应收款 /// [SqlSugar.SugarColumn(ColumnDescription = "不含税其他币种应收款", Length = 18, DecimalDigits = 3, IsNullable = true)] public decimal NoTaxReceivableOther { get; set; } /// /// 不含税其他币种应付款 /// [SqlSugar.SugarColumn(ColumnDescription = "不含税其他币种应付款", Length = 18, DecimalDigits = 3, IsNullable = true)] public decimal NoTaxPayableOther { get; set; } /// /// 不含税其他币种利润 /// [SqlSugar.SugarColumn(ColumnDescription = "不含税其他币种利润", Length = 18, DecimalDigits = 3, IsNullable = true)] public decimal NoTaxProfitOther { get; set; } } }