Class Admin
java.lang.Object
com.dada.banking_project.models.Users.User
com.dada.banking_project.models.Users.Admin
This class represents an administrator, a type of user with elevated privileges.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Admin
Creates a new instance of the Admin class.- Parameters:
id
- The ID of the administrator.name
- The name of the administrator.username
- The username of the administrator.password
- The password of the administrator.roles
- The roles assigned to the administrator.
-
Admin
public Admin()Creates a new instance of the Admin class.
-