namespace OneForMe.Models;

public class OrderItem
{
    public int Id { get; set; }
    public int OrderId { get; set; }
    public int MenuItemId { get; set; }
    public string ParticipantName { get; set; } = string.Empty;
    public string? ParticipantEmail { get; set; }
    public int Quantity { get; set; } = 1;
    public string? Comments { get; set; }
    public DateTime OrderedAt { get; set; } = DateTime.UtcNow;
    
    public Order? Order { get; set; }
    public MenuItem? MenuItem { get; set; }
}