using TakeoutSaaS.Shared.Abstractions.Entities;

namespace TakeoutSaaS.Domain.Products.Entities;

/// <summary>
/// 套餐分组。
/// </summary>
public sealed class ProductComboGroup : MultiTenantEntityBase
{
    /// <summary>
    /// 套餐商品 ID。
    /// </summary>
    public long ProductId { get; set; }

    /// <summary>
    /// 分组名称。
    /// </summary>
    public string Name { get; set; } = string.Empty;

    /// <summary>
    /// 最小选择数。
    /// </summary>
    public int MinSelect { get; set; } = 1;

    /// <summary>
    /// 最大选择数。
    /// </summary>
    public int MaxSelect { get; set; } = 1;

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