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.
|
|
|
|
using DS.WMS.Core.Application.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 List<SettlementDocument>? Documents { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算单据
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class SettlementDocument
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单据ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用对象ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long CustomerId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用对象名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? CustomerName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单据币别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? Currency { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇率(当单据币别与结算币别一致时,此字段可为null)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal? ExchangeRate { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|