Package se.bth.pulse.entity
Class User
java.lang.Object
se.bth.pulse.entity.User
This is the entity class for the table User. This class models the table Users meaning that each
instance of this class represents a row in the table. Using this class the table is created. This
class also serves as the username and password holder for our Custom UserDetailsService.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setCredentialsExpired
(Boolean credentialsExpired) void
void
setEnabled
(Boolean enabled) void
setFirstname
(String firstname) void
void
setLastname
(String lastname) void
setPassword
(String password) void
setPhonenr
(String phonenr) void
setProjects
(Set<Project> projects) void
-
Constructor Details
-
User
public User()
-
-
Method Details
-
setId
-
setFirstname
-
setLastname
-
setEmail
-
setPhonenr
-
setPassword
-
setEnabled
-
setRole
-
setProjects
-
setCredentialsExpired
-