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

19 lines
409 B
C#

using MediatR;
namespace ExpenseTracker.Application.Transactions.Commands.Update;
public record UpdateTransactionCommand : IRequest<TransactionDto>
{
public string Id { get; set; }
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; }
}