using Meezi.Core.Enums;

namespace Meezi.Core.Entities;

public class PlatformPlanDefinition : BaseEntity
{
    public PlanTier Tier { get; set; }
    public string DisplayNameFa { get; set; } = string.Empty;
    public string? DisplayNameEn { get; set; }
    public decimal MonthlyPriceToman { get; set; }
    public bool IsBillableOnline { get; set; }
    public bool IsActive { get; set; } = true;
    public int SortOrder { get; set; }
    /// <summary>JSON <see cref="Platform.PlanLimitsData"/>.</summary>
    public string LimitsJson { get; set; } = "{}";
    /// <summary>JSON array of feature keys enabled on this plan.</summary>
    public string? FeaturesJson { get; set; }
}
