Utopia-Canteen-System/Models/HrmsEmployeeInfo.cs

20 lines
990 B
C#

namespace UtopiaCanteenSystem.Models;
/// <summary>
/// Employee info loaded from local HRMS by RFID (employee_rfid_tag → employee → department).
/// </summary>
public class HrmsEmployeeInfo
{
/// <summary>Employee document id (employee.id); used to fetch photo from hrms.employee_photo.</summary>
public string ParentDocumentId { get; set; } = string.Empty;
/// <summary>Employee serial number (employee.serial_number).</summary>
public string EmployeeId { get; set; } = string.Empty;
public string FirstName { get; set; } = string.Empty;
public string MiddleName { get; set; } = string.Empty;
public string DepartmentId { get; set; } = string.Empty;
public string DepartmentTitle { get; set; } = string.Empty;
public string DepartmentType { get; set; } = string.Empty;
/// <summary>Site from employee_rfid_tag.location_site_id; used for menu lookup (lunch_menu_week).</summary>
public string LocationSiteId { get; set; } = string.Empty;
}