classlib/ExpenseTracker.Application/Transactions/Commands/Create/CreateTransactionCommand.cs
2024-08-07 21:12:02 +03:00

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; }
}