Class CreateUserRequest

java.lang.Object
com.dzidzi.dto.user.CreateUserRequest

public class CreateUserRequest extends Object
CreateUserRequest represents the DTO request containing the objects used to create account with UserRole.USER.
  • Method Details

    • builder

      public static CreateUserRequest.Builder builder()
    • getEmail

      public String getEmail()
      The email of the account
    • getPassword

      public String getPassword()
      The password of the account
    • getUsername

      public String getUsername()
      The username the account. It must be unique
    • getProvider

      public Provider getProvider()
      The provider of the menu