Class User

java.lang.Object
com.bank.auth_service.model.User

@Entity public class User extends Object
Entity representing a user in the authentication system. Stores user credentials, role, and associated refresh tokens.
Since:
1.0.0
Version:
1.0.0, 06/23/2025
Author:
Fernando Cruz Cavina
  • Constructor Details

    • User

      public User(String email, String password, UserRole userRole)
      Constructs a new User with the specified email, password, and role.
      Parameters:
      email - the user's email
      password - the user's password
      userRole - the user's role