using Baya.Domain.Common;

namespace Baya.Domain.Entities.Catalog;

/// <summary>
/// A concrete choice inside a <see cref="ServiceOptionGroup"/> (e.g. شبانه‌روزی / live-in, ۲ نفر / two
/// patients). A variant answers a dimension by referencing exactly one value from that dimension's group.
/// Carries the <c>NameFa</c> (primary) + <c>NameEn</c> pair like every catalog row.
/// </summary>
public class ServiceOptionValue : BaseEntity<long>
{
    public long OptionGroupId { get; set; }
    public ServiceOptionGroup OptionGroup { get; set; }

    public string NameFa { get; set; }
    public string NameEn { get; set; }

    public int SortOrder { get; set; }
    public bool IsActive { get; set; }

    public DateTimeOffset? DeletedAt { get; set; }
}
