namespace Inspectron.Epson.PrintServer.Printers.Utils.KitchenReceipt { /// /// Represents a restaurant receipt from Warme Küche /// public class KitchenReceipt { /// /// Restaurant name /// public string Title { get; set; } /// /// Date and time of the transaction /// public DateTime TransactionDateTime { get; set; } /// /// Receipt number /// public string ReceiptNumber { get; set; } /// /// Server/Waiter name /// public string WaiterName { get; set; } /// /// Server/Waiter ID /// public string WaiterId { get; set; } /// /// Table number /// public int TableNumber { get; set; } public List Gangs { get; set; } = new List(); public List Dishes { get; set; } = new List(); /// /// Additional items or notes (e.g., "Amuse Bouche") /// public List AdditionalInfo { get; set; } public KitchenReceipt() { Gangs = new List(); AdditionalInfo = new List(); } } public class Gang { public Gang(int id, string name) { Id = id; Name = name; } public int Id { get; set; } public string Name { get; set; } public List Dishes { get; set; } = new List(); } /// /// Represents a dish item on the receipt /// public class Dish { /// /// Number ordered /// public int Number { get; set; } /// /// Name of the dish /// public string Name { get; set; } public Dish(int number, string name) { Number = number; Name = name; } } }