using MediatR;

namespace IamService.API.Application.Commands.Auth;

/// <summary>
/// EN: Command to register a new user.
/// VI: Command để đăng ký user mới.
/// </summary>
public record RegisterUserCommand(
    string Email,
    string Password,
    string FirstName,
    string LastName
) : IRequest<RegisterUserCommandResult>;

/// <summary>
/// EN: Result of user registration.
/// VI: Kết quả đăng ký user.
/// </summary>
public record RegisterUserCommandResult(
    Guid UserId,
    string Email,
    string FullName
);
