groceries/Groceries.Data/Items/ItemBarcode.cs
James Chapman eee2c201fa
All checks were successful
Docker Image CI / build (push) Successful in 14m3s
Store when barcode was last scanned
2024-10-05 19:15:21 +01:00

17 lines
392 B
C#

namespace Groceries.Data;
public class ItemBarcode
{
public ItemBarcode(Guid itemId, long barcodeData, string format)
{
ItemId = itemId;
BarcodeData = barcodeData;
Format = format;
}
public Guid ItemId { get; init; }
public long BarcodeData { get; init; }
public string Format { get; init; }
public DateTime LastScannedAt { get; set; }
}