using TakeoutSaaS.Shared.Abstractions.Entities;

namespace TakeoutSaaS.Domain.Products.Entities;

/// <summary>
/// 套餐分组内商品。
/// </summary>
public sealed class ProductComboGroupItem : MultiTenantEntityBase
{
    /// <summary>
    /// 所属套餐分组 ID。
    /// </summary>
    public long ComboGroupId { get; set; }

    /// <summary>
    /// 商品 ID。
    /// </summary>
    public long ProductId { get; set; }

    /// <summary>
    /// 数量。
    /// </summary>
    public int Quantity { get; set; } = 1;

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