using System.Runtime.Serialization;
using DS.WMS.Core.Application.Dtos;
using SqlSugar;
namespace DS.WMS.Core.Settlement.Dtos
{
///
/// 结算
///
public class ApplicationSettlementDto : SettlementDto
{
///
/// 汇率
///
public decimal? ExchangeRate { get; set; }
///
/// 发票号
///
public string? InvoiceNO { get; set; }
///
/// 发票日期
///
public DateTime? InvoiceDate { get; set; }
///
/// 开票金额
///
public decimal? InvoiceAmount { get; set; }
///
/// 人民币金额
///
public decimal RMBAmount { get; set; }
///
/// 美元金额
///
public decimal USDAmount { get; set; }
///
/// 其他币别金额
///
public decimal OtherAmount { get; set; }
///
/// 记账资料币别
///
public string? AccountCurrency { get; set; }
///
/// 记账资料汇率
///
public decimal? AccountRate { get; set; }
///
/// 记账资料金额
///
public decimal? AccountAmount { get; set; }
///
/// 预付支资料币别
///
public string? PrePayCurrency { get; set; }
///
/// 预付支资料汇率
///
public decimal? PrePayRate { get; set; }
///
/// 预付支资料金额
///
public decimal? PrePayAmount { get; set; }
///
/// 实收支资料币别
///
public string? AHSRCurrency { get; set; }
///
/// 实收支资料汇率
///
public decimal? AHSRRate { get; set; }
///
/// 实收支资料金额
///
public decimal? AHSRAmount { get; set; }
///
/// 财务费用币别
///
public string? FinancialCurrency { get; set; }
///
/// 财务费用汇率
///
public decimal? FinancialRate { get; set; }
///
/// 财务费用金额
///
public decimal? FinancialAmount { get; set; }
///
/// 预收支支取币别
///
public string? AdvanceCurrency { get; set; }
///
/// 预收支支取汇率
///
public decimal? AdvanceRate { get; set; }
///
/// 预收支支取金额
///
public decimal? AdvanceAmount { get; set; }
///
/// 是否导出凭证
///
public bool IsExportVoucher { get; set; }
///
/// 总账凭证号
///
public string? LedgerVoucherNO { get; set; }
///
/// 是否禁用凭证
///
public bool IsVoucherDisabled { get; set; }
///
/// 是否生成支票
///
public bool IsGenerateCheck { get; set; }
///
/// 凭证备注
///
public string? VoucherRemark { get; set; }
[IgnoreDataMember]
public List UnInvoiceList { get; set; }
///
/// 未开票金额
///
public string UnInvoiceAmount => string.Join(" ", UnInvoiceList ?? []);
///
/// 结算明细(发票开出/收、付费申请)
///
public List? SettlementDetails { get; set; }
}
///
/// 付费自由结算返回明细
///
public class FreeSettlement
{
///
/// 结算明细
///
public new List? Details { get; set; }
///
/// 结算金额合计
///
public List? SummaryItems { get; set; }
}
}