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