16 lines
511 B
C#
16 lines
511 B
C#
using UtopiaCanteenSystem.Models;
|
|
|
|
namespace UtopiaCanteenSystem.Services;
|
|
|
|
/// <summary>
|
|
/// Looks up employee info from local HRMS MySQL by RFID (manufacturer_serial).
|
|
/// Uses a separate connection from production sync.
|
|
/// </summary>
|
|
public interface IEmployeeLookupService
|
|
{
|
|
/// <summary>
|
|
/// Finds employee by RFID. Returns null if card is not registered in HRMS.
|
|
/// </summary>
|
|
Task<HrmsEmployeeInfo?> GetEmployeeByRfidAsync(string rfid, CancellationToken cancellationToken = default);
|
|
}
|