You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
183 lines
4.4 KiB
C#
183 lines
4.4 KiB
C#
using System.Runtime.Serialization;
|
|
using DS.WMS.Core.Application.Dtos;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.Core.Settlement.Dtos
|
|
{
|
|
/// <summary>
|
|
/// 结算
|
|
/// </summary>
|
|
public class ApplicationSettlementDto : SettlementDto
|
|
{
|
|
/// <summary>
|
|
/// 汇率
|
|
/// </summary>
|
|
public decimal? ExchangeRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发票号
|
|
/// </summary>
|
|
public string? InvoiceNO { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发票日期
|
|
/// </summary>
|
|
public DateTime? InvoiceDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 开票金额
|
|
/// </summary>
|
|
public decimal? InvoiceAmount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 人民币金额
|
|
/// </summary>
|
|
public decimal RMBAmount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 美元金额
|
|
/// </summary>
|
|
public decimal USDAmount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 其他币别金额
|
|
/// </summary>
|
|
public decimal OtherAmount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 记账资料币别
|
|
/// </summary>
|
|
public string? AccountCurrency { get; set; }
|
|
|
|
/// <summary>
|
|
/// 记账资料汇率
|
|
/// </summary>
|
|
public decimal? AccountRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 记账资料金额
|
|
/// </summary>
|
|
public decimal? AccountAmount { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 预付支资料币别
|
|
/// </summary>
|
|
public string? PrePayCurrency { get; set; }
|
|
|
|
/// <summary>
|
|
/// 预付支资料汇率
|
|
/// </summary>
|
|
public decimal? PrePayRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 预付支资料金额
|
|
/// </summary>
|
|
public decimal? PrePayAmount { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 实收支资料币别
|
|
/// </summary>
|
|
public string? AHSRCurrency { get; set; }
|
|
|
|
/// <summary>
|
|
/// 实收支资料汇率
|
|
/// </summary>
|
|
public decimal? AHSRRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 实收支资料金额
|
|
/// </summary>
|
|
public decimal? AHSRAmount { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 财务费用币别
|
|
/// </summary>
|
|
public string? FinancialCurrency { get; set; }
|
|
|
|
/// <summary>
|
|
/// 财务费用汇率
|
|
/// </summary>
|
|
public decimal? FinancialRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 财务费用金额
|
|
/// </summary>
|
|
public decimal? FinancialAmount { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 预收支支取币别
|
|
/// </summary>
|
|
public string? AdvanceCurrency { get; set; }
|
|
|
|
/// <summary>
|
|
/// 预收支支取汇率
|
|
/// </summary>
|
|
public decimal? AdvanceRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 预收支支取金额
|
|
/// </summary>
|
|
public decimal? AdvanceAmount { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 是否导出凭证
|
|
/// </summary>
|
|
public bool IsExportVoucher { get; set; }
|
|
|
|
/// <summary>
|
|
/// 总账凭证号
|
|
/// </summary>
|
|
public string? LedgerVoucherNO { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否禁用凭证
|
|
/// </summary>
|
|
public bool IsVoucherDisabled { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否生成支票
|
|
/// </summary>
|
|
public bool IsGenerateCheck { get; set; }
|
|
|
|
/// <summary>
|
|
/// 凭证备注
|
|
/// </summary>
|
|
public string? VoucherRemark { get; set; }
|
|
|
|
|
|
[IgnoreDataMember]
|
|
public List<CurrencyAmount> UnInvoiceList { get; set; }
|
|
|
|
/// <summary>
|
|
/// 未开票金额
|
|
/// </summary>
|
|
public string UnInvoiceAmount => string.Join(" ", UnInvoiceList ?? []);
|
|
|
|
/// <summary>
|
|
/// 结算明细(发票开出/收、付费申请)
|
|
/// </summary>
|
|
public List<SettlementDetailDto>? SettlementDetails { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 付费自由结算返回明细
|
|
/// </summary>
|
|
public class FreeSettlement
|
|
{
|
|
/// <summary>
|
|
/// 结算明细
|
|
/// </summary>
|
|
public new List<FreeSettlementDetailDto>? Details { get; set; }
|
|
|
|
/// <summary>
|
|
/// 结算金额合计
|
|
/// </summary>
|
|
public List<SummaryItem>? SummaryItems { get; set; }
|
|
}
|
|
}
|