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.

44 lines
1.1 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 DS.WMS.Core.Application.Dtos;
using DS.WMS.Core.Fee.Dtos;
using DS.WMS.Core.Settlement.Entity;
namespace DS.WMS.Core.Settlement.Dtos
{
/// <summary>
/// 提交结算单请求参数
/// </summary>
public class SettlementRequest<TEntity> where TEntity : SettlementBase
{
/// <summary>
/// 结算单
/// </summary>
public TEntity Settlement { get; set; }
/// <summary>
/// 结算费用明细(付费申请结算用)
/// </summary>
public List<PaymentApplicationDetailDto>? Details { get; set; }
/// <summary>
/// 发票结算信息(发票结算用)
/// </summary>
public InvoiceSettlement[]? Invoices { get; set; }
}
/// <summary>
/// 发票结算信息
/// </summary>
public class InvoiceSettlement
{
/// <summary>
/// 发票ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 汇率信息当发票币别与结算币别一致时此字段可为null
/// </summary>
public ExchangeRate? ExchangeRate { get; set; }
}
}