Initial commit
This commit is contained in:
10
Groceries/Transactions/TransactionListModel.cs
Normal file
10
Groceries/Transactions/TransactionListModel.cs
Normal file
@ -0,0 +1,10 @@
|
||||
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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user