17 lines
356 B
C#
17 lines
356 B
C#
using MediatR;
|
|
|
|
namespace ExpenseTracker.Application.Accounts.Commands.Create;
|
|
|
|
public record CreateAccountCommand : IRequest<AccountDto>
|
|
{
|
|
public string Name { get; set; }
|
|
|
|
public string? Description { get; set; }
|
|
|
|
public double InitialBalance { get; set; }
|
|
|
|
public string Currency { get; set; }
|
|
|
|
public string? UserId { get; set; }
|
|
}
|