groceries/Groceries/Items/ItemListModel.cs
2023-07-23 20:00:53 +01:00

11 lines
290 B
C#

namespace Groceries.Items;
public record ItemListModel(string? Search, ListPageModel<ItemListModel.Item> Items)
{
public record Item(Guid Id, string Brand, string Name)
{
public bool HasBarcode { get; init; }
public DateTime? LastPurchasedAt { get; init; }
}
}