14 lines
438 B
C#
14 lines
438 B
C#
namespace UtopiaCanteenSystem.Models;
|
|
|
|
/// <summary>
|
|
/// Represents a labour/worker entity. CardId is the primary identifier from RFID.
|
|
/// </summary>
|
|
public class Labour
|
|
{
|
|
public int Id { get; set; }
|
|
/// <summary>RFID card identifier; used for scan matching.</summary>
|
|
public string CardId { get; set; } = string.Empty;
|
|
/// <summary>Optional display name for the labour.</summary>
|
|
public string? Name { get; set; }
|
|
}
|