namespace Meezi.Core.Entities;

public class MenuCategory : TenantEntity
{
    public string Name { get; set; } = string.Empty;
    public string? NameAr { get; set; }
    public string? NameEn { get; set; }
    public int SortOrder { get; set; }
    public string? TaxId { get; set; }
    public decimal DiscountPercent { get; set; }
    /// <summary>Emoji or short icon label shown when no preset/image is set.</summary>
    public string? Icon { get; set; }
    /// <summary>Preset icon id (see CategoryIconPresets.PresetId).</summary>
    public string? IconPresetId { get; set; }
    /// <summary>Preset visual style: flat, modern, real, minimal, outline.</summary>
    public string? IconStyle { get; set; }
    public string? ImageUrl { get; set; }
    public bool IsActive { get; set; } = true;
    public string? KitchenStationId { get; set; }

    public Cafe Cafe { get; set; } = null!;
    public KitchenStation? KitchenStation { get; set; }
    public Tax? Tax { get; set; }
    public ICollection<MenuItem> MenuItems { get; set; } = [];
}
