17 lines
371 B
C#
17 lines
371 B
C#
using MediatR;
|
|
|
|
namespace ExpenseTracker.Application.Transactions.Commands.Create;
|
|
|
|
public record CreateTransactionCommand : IRequest<TransactionDto>
|
|
{
|
|
public double Amount { get; set; }
|
|
|
|
public string Category { get; set; }
|
|
|
|
public DateTimeOffset Time { get; set; }
|
|
|
|
public string? Description { get; set; }
|
|
|
|
public string? AccountId { get; set; }
|
|
}
|