Package com.bank.auth_service.model
Class User
java.lang.Object
com.bank.auth_service.model.User
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
User
Constructs a new User with the specified email, password, and role.- Parameters:
email
- the user's emailpassword
- the user's passworduserRole
- the user's role
-