namespace UtopiaCanteenSystem.Models;
///
/// Employee info loaded from local HRMS by RFID (employee_rfid_tag → employee → department).
///
public class HrmsEmployeeInfo
{
/// Employee document id (employee.id); used to fetch photo from hrms.employee_photo.
public string ParentDocumentId { get; set; } = string.Empty;
/// Employee serial number (employee.serial_number).
public string EmployeeId { get; set; } = string.Empty;
/// uind_serial from employee_rfid_tag (production lunch_order.employee_serial_number).
public string UindSerial { get; set; } = string.Empty;
/// function_id from employee_rfid_tag.
public int FunctionId { get; set; }
/// department_id from employee_rfid_tag (production lunch_order.department_id).
public int DepartmentId { get; set; }
/// date_time_created from employee_rfid_tag (production lunch_order.created_at).
public DateTime? TagCreatedAtUtc { get; set; }
/// created_by from employee_rfid_tag (production lunch_order.created_by).
public string TagCreatedBy { get; set; } = string.Empty;
public string FirstName { get; set; } = string.Empty;
public string MiddleName { get; set; } = string.Empty;
public string DepartmentTitle { get; set; } = string.Empty;
public string DepartmentType { get; set; } = string.Empty;
/// Site from employee_rfid_tag.location_site_id; used for menu lookup (lunch_menu_week).
public string LocationSiteId { get; set; } = string.Empty;
}