namespace UtopiaCanteenSystem.Services;
///
/// Fetches employee profile photo from hrms.employee_photo by parent_document_id (employee document id from RFID lookup).
/// Photo blob may be a data URI (data:image/...;base64,...) or raw image bytes.
///
public interface IEmployeePhotoService
{
///
/// Gets photo bytes for the given parent_document_id (employee.id from lookup), or null if not found / decode failed.
/// May return cached bytes for the same key.
///
Task GetPhotoBytesAsync(string parentDocumentId, CancellationToken cancellationToken = default);
}