groceries/Groceries/Transactions/TransactionListModel.cs
2023-07-23 20:00:53 +01:00

11 lines
343 B
C#

namespace Groceries.Transactions;
public record TransactionListModel(string? Sort, string? Dir, ListPageModel<TransactionListModel.Transaction> Transactions)
{
public record Transaction(Guid Id, DateTime CreatedAt, string Store)
{
public decimal TotalAmount { get; init; }
public int TotalItems { get; init; }
}
}