28 lines
617 B
C#
28 lines
617 B
C#
namespace TakeoutSaaS.Application.App.Billings.Dto;
|
||
|
||
/// <summary>
|
||
/// 账单趋势数据点 DTO。
|
||
/// </summary>
|
||
public sealed record BillingTrendPointDto
|
||
{
|
||
/// <summary>
|
||
/// 分组时间点(Day/Week/Month 对齐后的时间)。
|
||
/// </summary>
|
||
public DateTime Period { get; init; }
|
||
|
||
/// <summary>
|
||
/// 账单数量。
|
||
/// </summary>
|
||
public int Count { get; init; }
|
||
|
||
/// <summary>
|
||
/// 应收金额。
|
||
/// </summary>
|
||
public decimal AmountDue { get; init; }
|
||
|
||
/// <summary>
|
||
/// 实收金额。
|
||
/// </summary>
|
||
public decimal AmountPaid { get; init; }
|
||
}
|