namespace TakeoutSaaS.Application.App.Coupons.FullReduction.Dto;
///
/// 满减活动规则 DTO。
///
public sealed class FullReductionRulesDto
{
///
/// 活动类型(reduce/gift/second_half)。
///
public string ActivityType { get; init; } = "reduce";
///
/// 满减阶梯。
///
public IReadOnlyList ReduceTiers { get; init; } = [];
///
/// 满赠规则。
///
public FullReductionGiftRuleDto? GiftRule { get; init; }
///
/// 第二份半价规则。
///
public FullReductionSecondHalfRuleDto? SecondHalfRule { get; init; }
///
/// 适用渠道。
///
public IReadOnlyList Channels { get; init; } = [];
///
/// 门店范围模式(all/stores)。
///
public string StoreScopeMode { get; init; } = "all";
///
/// 门店范围 ID。
///
public IReadOnlyList StoreIds { get; init; } = [];
///
/// 选品基准门店 ID。
///
public long ScopeStoreId { get; init; }
///
/// 是否可叠加优惠券。
///
public bool StackWithCoupon { get; init; }
///
/// 活动说明。
///
public string? Description { get; init; }
///
/// 统计指标。
///
public FullReductionMetricsDto Metrics { get; init; } = new();
}