using DS.Module.Core.Data; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Check.Entity { /// /// 自动对账明细表 /// [SqlSugar.SugarTable("check_bill_auto_detail", "自动对账明细表")] public class CheckBillAutoDetail : BaseModel { /// /// 对账Id /// [SqlSugar.SugarColumn(ColumnDescription = "对账Id", IsNullable = false, DefaultValue = "0")] public long CheckId { get; set; } /// /// 主提单号 /// [SqlSugar.SugarColumn(ColumnDescription = "主提单号", IsNullable = true, Length = 30)] public string MBLNO { get; set; } /// /// 本地RMB金额 /// [SugarColumn(ColumnDescription = "本地RMB金额", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")] public decimal? RMBLocalAmount { get; set; } = 0; /// /// 本地USD金额 /// [SugarColumn(ColumnDescription = "本地USD金额", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")] public decimal? USDLocalAmount { get; set; } = 0; /// /// 对账RMB金额 /// [SugarColumn(ColumnDescription = "对账RMB金额", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")] public decimal? RMBCheckAmount { get; set; } = 0; /// /// 对账USD金额 /// [SugarColumn(ColumnDescription = "对账USD金额", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")] public decimal? USDCheckAmount { get; set; } = 0; /// /// RMB差异金额 /// [SugarColumn(ColumnDescription = "RMB差异金额", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")] public decimal? RMBDifferenceAmount { get; set; } = 0; /// /// USD差异金额 /// [SugarColumn(ColumnDescription = "USD差异金额", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")] public decimal? USDDifferenceAmount { get; set; } = 0; /// /// 结算单位Id /// [SqlSugar.SugarColumn(ColumnDescription = "结算单位Id", IsNullable = false, DefaultValue = "0")] public long CustomerId { get; set; } /// /// 结算单位 /// [SqlSugar.SugarColumn(ColumnDescription = "结算单位", IsNullable = true, Length = 50)] public string CustomerName { get; set; } /// /// 开船日期 /// [SugarColumn(ColumnDescription = "开船日期", IsNullable = true)] public DateTime? ETD { 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; } /// /// 操作员Id /// [SugarColumn(ColumnDescription = "操作员Id", IsNullable = true, DefaultValue = "0")] public long OperatorId { get; set; } /// /// 操作员 /// [SugarColumn(ColumnDescription = "操作员", IsNullable = true, Length = 100)] public string OperatorName { get; set; } /// /// 揽货人Id /// [SugarColumn(ColumnDescription = "揽货人Id", IsNullable = true, DefaultValue = "0")] public long SaleId { get; set; } /// /// 揽货人 /// [SugarColumn(ColumnDescription = "揽货人", IsNullable = true, Length = 100)] public string SaleName { get; set; } /// /// 是否一致 /// [SqlSugar.SugarColumn(ColumnDescription = "是否一致", IsNullable = true, DefaultValue = "0")] public bool IsEqual { get; set; } =false; } }