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.

144 lines
3.4 KiB
C#

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 InvoiceApplyAmount { 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>
/// 申请日期
/// </summary>
public DateTime? CreateTime { get; set; }
[IgnoreDataMember]
public long? CreateBy { get; set; }
/// <summary>
/// 申请人
/// </summary>
public string? CreateByName { get; set; }
3 months ago
/// <summary>
/// 发票业务号
/// </summary>
public string? BillNO { get; set; }
/// <summary>
/// 发票号
/// </summary>
public string? InvoiceNO { get; set; }
/// <summary>
/// 申请支付日期
/// </summary>
public DateTime? PaymentDate { get; set; }
3 months ago
/// <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; }
}
}