Class RegisterCredentialRequest
Request DTO for registering new user credentials
public class RegisterCredentialRequest
- Inheritance
-
RegisterCredentialRequest
- Inherited Members
Properties
Id
The Id of the associated user profile (shared identity)
[Required(ErrorMessage = "Profile Id is required")]
public Guid Id { get; set; }
Property Value
Password
[Required(ErrorMessage = "Password is required")]
[StringLength(100, MinimumLength = 6, ErrorMessage = "Password must be at least 6 characters")]
public string Password { get; set; }
Property Value
Role
[Required(ErrorMessage = "Role is required")]
public string Role { get; set; }
Property Value
Username
[Required(ErrorMessage = "Username is required")]
[StringLength(50, MinimumLength = 3, ErrorMessage = "Username must be between 3 and 50 characters")]
public string Username { get; set; }