feat: 完成营销中心优惠券后端模块
All checks were successful
Build and Deploy TenantApi + SkuWorker / build-and-deploy (push) Successful in 1m54s

This commit is contained in:
2026-02-28 11:14:55 +08:00
parent 04e76cd519
commit dda3f96d28
26 changed files with 11107 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
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; }
}