19 lines
409 B
C#
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; }
|
|
}
|