using System.Runtime.Serialization;
using SqlSugar;
namespace DS.WMS.Core.Settlement.Entity
{
///
/// 结算表
///
[SugarTable("application_settlement", TableDescription = "结算表")]
public class ApplicationSettlement : SettlementBase
{
///
/// 由于付费结算不存在状态,已设置取消关联SqlSugar
///
[IgnoreDataMember, SugarColumn(IsIgnore = true)]
public override int Status { get => base.Status; set => base.Status = value; }
///
/// 汇率
///
[SugarColumn(ColumnDescription = "汇率", IsNullable = true)]
public decimal? ExchangeRate { get; set; }
///
/// 记账资料币别
///
[SugarColumn(ColumnDescription = "记账资料币别", IsNullable = true, Length = 3)]
public string? AccountCurrency { get; set; }
///
/// 记账资料汇率
///
[SugarColumn(ColumnDescription = "记账资料汇率", IsNullable = true)]
public decimal? AccountRate { get; set; }
///
/// 记账资料金额
///
[SugarColumn(ColumnDescription = "记账资料金额", IsNullable = true)]
public decimal? AccountAmount { get; set; }
///
/// 预付支资料币别
///
[SugarColumn(ColumnDescription = "预付支资料币别", IsNullable = true, Length = 3)]
public string? PrePayCurrency { get; set; }
///
/// 预付支资料汇率
///
[SugarColumn(ColumnDescription = "预付支资料汇率", IsNullable = true)]
public decimal? PrePayRate { get; set; }
///
/// 预付支资料金额
///
[SugarColumn(ColumnDescription = "预付支资料金额", IsNullable = true)]
public decimal? PrePayAmount { get; set; }
///
/// 实收支资料币别
///
[SugarColumn(ColumnDescription = "实收支资料币别", IsNullable = true, Length = 3)]
public string? AHSRCurrency { get; set; }
///
/// 实收支资料汇率
///
[SugarColumn(ColumnDescription = "实收支资料汇率", IsNullable = true)]
public decimal? AHSRRate { get; set; }
///
/// 实收支资料金额
///
[SugarColumn(ColumnDescription = "实收支资料金额", IsNullable = true)]
public decimal? AHSRAmount { get; set; }
///
/// 财务费用币别
///
[SugarColumn(ColumnDescription = "财务费用币别", IsNullable = true, Length = 3)]
public string? FinancialCurrency { get; set; }
///
/// 财务费用汇率
///
[SugarColumn(ColumnDescription = "财务费用汇率", IsNullable = true)]
public decimal? FinancialRate { get; set; }
///
/// 财务费用金额
///
[SugarColumn(ColumnDescription = "财务费用金额", IsNullable = true)]
public decimal? FinancialAmount { get; set; }
///
/// 预收支支取币别
///
[SugarColumn(ColumnDescription = "预收支支取币别", IsNullable = true, Length = 3)]
public string? AdvanceCurrency { get; set; }
///
/// 预收支支取汇率
///
[SugarColumn(ColumnDescription = "预收支支取汇率", IsNullable = true)]
public decimal? AdvanceRate { get; set; }
///
/// 预收支支取金额
///
[SugarColumn(ColumnDescription = "预收支支取金额", IsNullable = true)]
public decimal? AdvanceAmount { get; set; }
///
/// 是否禁用凭证
///
[SugarColumn(ColumnDescription = "是否禁用凭证", IsNullable = false, DefaultValue = "0")]
public bool IsVoucherDisabled { get; set; }
///
/// 总账凭证号
///
[SugarColumn(ColumnDescription = "总账凭证号", IsNullable = true, Length = 50)]
public string? LedgerVoucherNO { get; set; }
///
/// 相关号码
///
[SugarColumn(ColumnDescription = "相关号码", IsNullable = true, Length = 50)]
public string? RelativeNO { get; set; }
///
/// 发票号
///
[SugarColumn(ColumnDescription = "发票号")]
public string? InvoiceNO { get; set; }
///
/// 发票日期
///
[SugarColumn(ColumnDescription = "发票日期")]
public DateTime? InvoiceDate { get; set; }
///
/// 开票金额
///
[SugarColumn(ColumnDescription = "开票金额")]
public decimal? InvoiceAmount { get; set; }
///
/// 凭证备注
///
[SugarColumn(ColumnDescription = "凭证备注", IsNullable = true, Length = 200)]
public string? VoucherRemark { get; set; }
}
}