using TakeoutSaaS.Shared.Abstractions.Entities;

namespace TakeoutSaaS.Domain.Membership.Entities;

/// <summary>
/// 会员等级定义。
/// </summary>
public sealed class MemberTier : MultiTenantEntityBase
{
    /// <summary>
    /// 等级名称。
    /// </summary>
    public string Name { get; set; } = string.Empty;

    /// <summary>
    /// 所需成长值。
    /// </summary>
    public int RequiredGrowth { get; set; }

    /// <summary>
    /// 等级权益（JSON）。
    /// </summary>
    public string BenefitsJson { get; set; } = string.Empty;

    /// <summary>
    /// 排序值。
    /// </summary>
    public int SortOrder { get; set; } = 100;
}
