namespace TakeoutSaaS.Application.App.Members.PointsMall.Dto; /// /// 积分规则数据。 /// public sealed class MemberPointMallRuleDto { /// /// 门店标识。 /// public long StoreId { get; set; } /// /// 是否启用消费获取。 /// public bool IsConsumeRewardEnabled { get; set; } /// /// 每消费多少元触发一次积分计算。 /// public int ConsumeAmountPerStep { get; set; } /// /// 每步获得积分。 /// public int ConsumeRewardPointsPerStep { get; set; } /// /// 是否启用评价奖励。 /// public bool IsReviewRewardEnabled { get; set; } /// /// 评价奖励积分。 /// public int ReviewRewardPoints { get; set; } /// /// 是否启用注册奖励。 /// public bool IsRegisterRewardEnabled { get; set; } /// /// 注册奖励积分。 /// public int RegisterRewardPoints { get; set; } /// /// 是否启用签到奖励。 /// public bool IsSigninRewardEnabled { get; set; } /// /// 签到奖励积分。 /// public int SigninRewardPoints { get; set; } /// /// 有效期模式(permanent/yearly_clear)。 /// public string ExpiryMode { get; set; } = "yearly_clear"; }