using TakeoutSaaS.Shared.Abstractions.Entities;

namespace TakeoutSaaS.Domain.Stores.Entities;

/// <summary>
/// 门店休息日或特殊营业日。
/// </summary>
public sealed class StoreHoliday : MultiTenantEntityBase
{
    /// <summary>
    /// 门店标识。
    /// </summary>
    public long StoreId { get; set; }

    /// <summary>
    /// 日期。
    /// </summary>
    public DateTime Date { get; set; }

    /// <summary>
    /// 是否全天闭店。
    /// </summary>
    public bool IsClosed { get; set; } = true;

    /// <summary>
    /// 说明内容。
    /// </summary>
    public string? Reason { get; set; }
}
