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.

158 lines
3.7 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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