using UtopiaCanteenSystem.Models;
namespace UtopiaCanteenSystem.Services;
///
/// Looks up employee info from local HRMS MySQL by RFID (manufacturer_serial).
/// Uses a separate connection from production sync.
///
public interface IEmployeeLookupService
{
///
/// Finds employee by RFID. Returns null if card is not registered in HRMS.
///
Task GetEmployeeByRfidAsync(string rfid, CancellationToken cancellationToken = default);
///
/// Reads employee.location_site_id where employee.serial_number matches the login employee id. Null if missing or not configured.
///
Task GetLocationSiteIdByEmployeeSerialAsync(string employeeSerial, CancellationToken cancellationToken = default);
///
/// Validates that a menu item is authorized for the employee RFID via employee_menu_item_tag.
///
Task IsMenuItemAuthorizedForRfidAsync(string rfid, int menuItemId, CancellationToken cancellationToken = default);
}