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