Class User

java.lang.Object
com.nicholasalfonso.lato.entity.User

@Entity public class User extends Object
Represents a registered user account in the LATO system. Maintains user credentials, profile data, and relationships to external integrations.
  • Constructor Details

    • User

      public User()
  • Method Details

    • getId

      public Long getId()
      Gets the user's unique identifier.
      Returns:
      user ID
    • getEmail

      public String getEmail()
      Gets the user's email address.
      Returns:
      email address
    • setEmail

      public void setEmail(String email)
      Sets the user's email address.
      Parameters:
      email - email address to set
    • getName

      public String getName()
      Gets the user's display name.
      Returns:
      display name
    • setName

      public void setName(String name)
      Sets the user's display name.
      Parameters:
      name - display name to set
    • getPasswordHash

      public String getPasswordHash()
      Gets the user's encrypted password hash.
      Returns:
      password hash
    • setPasswordHash

      public void setPasswordHash(String passwordHash)
      Sets the user's password hash.
      Parameters:
      passwordHash - encrypted password hash to set
    • getIntegrations

      public Set<Integration> getIntegrations()
      Gets the collection of LMS integrations for this user.
      Returns:
      set of integrations
    • getCreatedAt

      public Instant getCreatedAt()
      Gets the account creation timestamp.
      Returns:
      creation timestamp
    • getUpdatedAt

      public Instant getUpdatedAt()
      Gets the account update timestamp.
      Returns:
      update timestamp