namespace UtopiaCanteenSystem.Models; /// /// Meal timing window from production hrms.meal_schedule. id is bigint; location_site_id displayed as normalized string (e.g. "02"). /// public class MealSchedule { public long Id { get; set; } /// Raw meal_name from hrms.meal_schedule (e.g. \"Sehri\", \"Iftari\", \"Tea\", \"Dinner\"). public string MealName { get; set; } = string.Empty; /// Site identifier (matches ScanRecord.SiteId / config). public string LocationSiteId { get; set; } = string.Empty; /// Session type: 0=Breakfast, 1=Lunch, 2=Tea, 3=Dinner (MealSession enum value). public int MealSession { get; set; } /// Window start time, stored as "HH:mm:ss". public string StartTime { get; set; } = string.Empty; /// Window end time, stored as "HH:mm:ss". public string EndTime { get; set; } = string.Empty; public bool IsActive { get; set; } public DateTime CreatedAt { get; set; } public DateTime UpdatedAt { get; set; } }