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