Class User

java.lang.Object
ch.autumo.beetroot.Model
ch.autumo.beetroot.handler.users.User
All Implemented Interfaces:
Entity, Serializable

public class User extends Model
User.
See Also:
  • Constructor Details

    • User

      public User()
      Default constructor.
  • Method Details

    • getFirstname

      public String getFirstname()
      Returns the firstname value.
      Returns:
      the firstname value
    • setFirstname

      public void setFirstname(String firstname)
      Sets the firstname value.
      Parameters:
      firstname - the new firstname value
    • getPassword

      public String getPassword()
      Returns the password value.
      Returns:
      the password value
    • setPassword

      public void setPassword(String password)
      Sets the password value.
      Parameters:
      password - the new password value
    • getRole

      public String getRole()
      Returns the role value.
      Returns:
      the role value
    • setRole

      public void setRole(String role)
      Sets the role value.
      Parameters:
      role - the new role value
    • getLasttoken

      public String getLasttoken()
      Returns the lasttoken value.
      Returns:
      the lasttoken value
    • setLasttoken

      public void setLasttoken(String lasttoken)
      Sets the lasttoken value.
      Parameters:
      lasttoken - the new lasttoken value
    • getCreated

      public Timestamp getCreated()
      Returns the created value.
      Returns:
      the created value
    • setCreated

      public void setCreated(Timestamp created)
      Sets the created value.
      Parameters:
      created - the new created value
    • getModified

      public Timestamp getModified()
      Returns the modified value.
      Returns:
      the modified value
    • setModified

      public void setModified(Timestamp modified)
      Sets the modified value.
      Parameters:
      modified - the new modified value
    • getLang

      public String getLang()
      Returns the lang value.
      Returns:
      the lang value
    • setLang

      public void setLang(String lang)
      Sets the lang value.
      Parameters:
      lang - the new lang value
    • getEmail

      public String getEmail()
      Returns the email value.
      Returns:
      the email value
    • setEmail

      public void setEmail(String email)
      Sets the email value.
      Parameters:
      email - the new email value
    • getPhone

      public String getPhone()
      Returns the phone value.
      Returns:
      the phone value
    • setPhone

      public void setPhone(String phone)
      Sets the phone value.
      Parameters:
      phone - the new phone value
    • getUsername

      public String getUsername()
      Returns the username value.
      Returns:
      the username value
    • setUsername

      public void setUsername(String username)
      Sets the username value.
      Parameters:
      username - the new username value
    • getLastname

      public String getLastname()
      Returns the lastname value.
      Returns:
      the lastname value
    • setLastname

      public void setLastname(String lastname)
      Sets the lastname value.
      Parameters:
      lastname - the new lastname value
    • getSecretkey

      public String getSecretkey()
      Returns the secretkey value.
      Returns:
      the secretkey value
    • setSecretkey

      public void setSecretkey(String secretkey)
      Sets the secretkey value.
      Parameters:
      secretkey - the new secretkey value
    • getTwoFa

      public boolean getTwoFa()
      Returns the two fa value.
      Returns:
      the two fa value
    • setTwoFa

      public void setTwoFa(boolean twoFa)
      Sets the two fa value.
      Parameters:
      twoFa - the new two fa value
    • getDisplayField

      public String getDisplayField()
      Description copied from class: Model
      Default display field.
      Overrides:
      getDisplayField in class Model
      Returns:
      display field
    • modelClass

      public Class<?> modelClass()
      Description copied from class: Model
      Get model base class, usually overwritten by the Plant generator.
      Specified by:
      modelClass in class Model
      Returns:
      model base class