using TakeoutSaaS.Shared.Abstractions.Entities;

namespace TakeoutSaaS.Domain.Merchants.Entities;

/// <summary>
/// 商户可选类目。
/// </summary>
public sealed class MerchantCategory : MultiTenantEntityBase
{
    /// <summary>
    /// 类目名称。
    /// </summary>
    public string Name { get; set; } = string.Empty;

    /// <summary>
    /// 显示顺序，越小越靠前。
    /// </summary>
    public int DisplayOrder { get; set; }

    /// <summary>
    /// 是否可用。
    /// </summary>
    public bool IsActive { get; set; } = true;
}
