Class User

java.lang.Object
se.bth.pulse.entity.User

@Entity(name="User") public class User extends Object
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 Details

    • User

      public User()
  • Method Details

    • setId

      public void setId(Integer id)
    • setFirstname

      public void setFirstname(String firstname)
    • setLastname

      public void setLastname(String lastname)
    • setEmail

      public void setEmail(String email)
    • setPhonenr

      public void setPhonenr(String phonenr)
    • setPassword

      public void setPassword(String password)
    • setEnabled

      public void setEnabled(Boolean enabled)
    • setRole

      public void setRole(Role role)
    • setProjects

      public void setProjects(Set<Project> projects)
    • setCredentialsExpired

      public void setCredentialsExpired(Boolean credentialsExpired)