using System.Runtime.Serialization;
using DS.WMS.Core.Application.Dtos;
namespace DS.WMS.Core.Settlement.Dtos
{
///
/// 结算(分组)明细DTO
///
public class SettlementDetailGroup
{
///
/// 申请/发票ID
///
public long Id { get; set; }
///
/// 申请单号
///
public string? ApplicationNO => ApplicationNOList == null ? string.Empty : string.Join(",", ApplicationNOList);
public List? ApplicationNOList { get; set; }
///
/// 状态
///
public int Status { get; set; }
///
/// 状态文本
///
public string StatusText { get; set; }
///
/// 币别
///
public string Currency { get; set; }
///
/// 原始币别
///
public string OriginalCurrency { get; set; }
///
/// 已结算金额
///
public decimal SettlementAmount { get; set; }
///
/// 发票申请金额
///
public decimal InvoiceApplyAmount { get; set; }
///
/// 发票开票金额
///
public decimal InvoiceAmount { get; set; }
///
/// 原始金额
///
public decimal OriginalAmount { get; set; }
///
/// RMB申请金额
///
public decimal? RMBApplyAmount { get; set; }
///
/// USD申请金额
///
public decimal? USDApplyAmount { get; set; }
///
/// 申请日期
///
public DateTime? CreateTime { get; set; }
[IgnoreDataMember]
public long? CreateBy { get; set; }
///
/// 申请人
///
public string? CreateByName { get; set; }
///
/// 发票业务号
///
public string? BillNO { get; set; }
///
/// 发票号
///
public string? InvoiceNO { get; set; }
///
/// 申请支付日期
///
public DateTime? PaymentDate { get; set; }
///
/// 开票单位
///
public string CustomerName { get; set; }
///
/// 发票抬头
///
public string InvoiceHeader { get; set; }
///
/// 开票日期
///
public DateTime InvoiceDate { get; set; }
///
/// 备注
///
public string? Note { get; set; }
}
///
/// 结算费用明细DTO
///
public class SettlementDetailDto : ApplicationDetailDto
{
///
/// 经营单位
///
public string? Enterprise { get; set; }
///
/// 报关单号
///
public string? CustomNo { get; set; }
///
/// 更改单
///
public string? ChangeOrder { get; set; }
}
}