feat: 完成营销中心优惠券后端模块
All checks were successful
Build and Deploy TenantApi + SkuWorker / build-and-deploy (push) Successful in 1m54s
All checks were successful
Build and Deploy TenantApi + SkuWorker / build-and-deploy (push) Successful in 1m54s
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user