Files
TakeoutSaaS.TenantApi/src/Application/TakeoutSaaS.Application/App/Coupons/Dto/CouponTemplateStatsDto.cs
MSuMshk dda3f96d28
All checks were successful
Build and Deploy TenantApi + SkuWorker / build-and-deploy (push) Successful in 1m54s
feat: 完成营销中心优惠券后端模块
2026-02-28 11:14:55 +08:00

33 lines
704 B
C#

namespace TakeoutSaaS.Application.App.Coupons.Dto;
/// <summary>
/// 优惠券统计 DTO。
/// </summary>
public sealed class CouponTemplateStatsDto
{
/// <summary>
/// 优惠券总数。
/// </summary>
public int TotalCount { get; init; }
/// <summary>
/// 进行中数量。
/// </summary>
public int OngoingCount { get; init; }
/// <summary>
/// 已领取总数。
/// </summary>
public int ClaimedCount { get; init; }
/// <summary>
/// 已核销总数。
/// </summary>
public int RedeemedCount { get; init; }
/// <summary>
/// 核销率(百分比)。
/// </summary>
public decimal RedeemRate { get; init; }
}