Files
TakeoutSaaS.AdminApi/src/Application/TakeoutSaaS.Application/App/StoreAudits/Dto/StoreAuditStatisticsDto.cs

38 lines
870 B
C#

namespace TakeoutSaaS.Application.App.StoreAudits.Dto;
/// <summary>
/// 审核统计 DTO。
/// </summary>
public sealed record StoreAuditStatisticsDto
{
/// <summary>
/// 待审核数量。
/// </summary>
public int PendingCount { get; init; }
/// <summary>
/// 超时数量。
/// </summary>
public int OverdueCount { get; init; }
/// <summary>
/// 审核通过数量。
/// </summary>
public int ApprovedCount { get; init; }
/// <summary>
/// 审核驳回数量。
/// </summary>
public int RejectedCount { get; init; }
/// <summary>
/// 平均处理时长(小时)。
/// </summary>
public double AvgProcessingHours { get; init; }
/// <summary>
/// 每日趋势。
/// </summary>
public IReadOnlyList<StoreAuditDailyTrendDto> DailyTrend { get; init; } = [];
}