mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 21:01:10 +00:00
23 lines
1.1 KiB
C#
23 lines
1.1 KiB
C#
#region ========================================================================= USING =====================================================================================
|
|
using System.Diagnostics;
|
|
#endregion
|
|
|
|
namespace Lumina.Presentation.Web.Common.Models.UsersManagement;
|
|
|
|
/// <summary>
|
|
/// Represents the request model for user registration.
|
|
/// </summary>
|
|
/// <param name="Username">The desired username for the new account.</param>
|
|
/// <param name="Password">The password for the new account.</param>
|
|
/// <param name="PasswordConfirm">The confirmation of the entered password, used to ensure consistency.</param>
|
|
/// <param name="RegistrationType">Specifies the type of registration, e.g., "Admin" or "User".</param>
|
|
/// <param name="Use2fa">Indicates whether two-factor authentication (2FA) should be enabled for the new account.</param>
|
|
[DebuggerDisplay("Username: {Username}")]
|
|
public record RegisterRequestModel(
|
|
string? Username = null,
|
|
string? Password = null,
|
|
string? PasswordConfirm = null,
|
|
string? RegistrationType = null,
|
|
bool Use2fa = true
|
|
);
|