namespace UtopiaCanteenSystem.Models;
///
/// Represents a single RFID scan event. Used for local storage and UIND sync.
///
public class ScanRecord
{
public int Id { get; set; }
/// RFID card identifier at time of scan.
public string CardId { get; set; } = string.Empty;
/// UTC time when the scan occurred.
public DateTime ScanTime { get; set; }
/// True after record has been successfully sent to the sync API.
public bool IsSynced { get; set; }
/// Site identifier where the scan occurred (from config).
public string SiteId { get; set; } = string.Empty;
/// Stable device identifier that generated the scan (from config).
public string DeviceId { get; set; } = string.Empty;
}