using TakeoutSaaS.Domain.Membership.Enums;
using TakeoutSaaS.Shared.Abstractions.Entities;

namespace TakeoutSaaS.Domain.Membership.Entities;

/// <summary>
/// 会员储值卡充值方案。
/// </summary>
public sealed class MemberStoredCardPlan : MultiTenantEntityBase
{
    /// <summary>
    /// 门店标识。
    /// </summary>
    public long StoreId { get; set; }

    /// <summary>
    /// 充值金额。
    /// </summary>
    public decimal RechargeAmount { get; set; }

    /// <summary>
    /// 赠送金额。
    /// </summary>
    public decimal GiftAmount { get; set; }

    /// <summary>
    /// 排序值（越小越靠前）。
    /// </summary>
    public int SortOrder { get; set; } = 100;

    /// <summary>
    /// 启用状态。
    /// </summary>
    public MemberStoredCardPlanStatus Status { get; set; } = MemberStoredCardPlanStatus.Enabled;
}
