Utopia-Canteen-System/Models/HrmsMenuItem.cs

25 lines
948 B
C#

namespace UtopiaCanteenSystem.Models;
/// <summary>
/// Menu item from HRMS (lunch_menu_week → lunch_menu_item → menu_item) for a site.
/// </summary>
public class HrmsMenuItem
{
/// <summary>menu_item.id</summary>
//public int MenuItemId { get; set; }
//public string ItemName { get; set; } = string.Empty;
//public string ItemType { get; set; } = string.Empty;
///// <summary>menu_item.price (HRMS). Decimal is safest for money.</summary>
//public decimal Price { get; set; }
public int MenuItemId { get; set; }
public string ItemName { get; set; } = string.Empty;
public string ItemType { get; set; } = string.Empty;
public decimal Price { get; set; }
// NEW:
public string MealName { get; set; } = string.Empty; // Sehri / Iftari / Dinner
public string MenuDate { get; set; } = string.Empty; // "2026-03-05"
public string DayOfWeek { get; set; } = string.Empty; // Thursday
}