using Meezi.Core.Enums;

namespace Meezi.Core.Entities;

public class TableReservation : BaseEntity
{
    public string CafeId { get; set; } = string.Empty;
    public string? TableId { get; set; }
    public string? CustomerId { get; set; }
    public string GuestName { get; set; } = string.Empty;
    public string GuestPhone { get; set; } = string.Empty;
    public DateOnly Date { get; set; }
    public TimeOnly Time { get; set; }
    public int PartySize { get; set; }
    public ReservationStatus Status { get; set; } = ReservationStatus.Pending;
    public string? Notes { get; set; }

    public Cafe Cafe { get; set; } = null!;
    public Table? Table { get; set; }
    public Customer? Customer { get; set; }
}
