Class UsersEntity

java.lang.Object
com.skava.entities.UsersEntity
All Implemented Interfaces:
Serializable

@Config(defaultVariableName="users") @Entity(name="users") public class UsersEntity extends Object implements Serializable
This class defines the Users entity. This entity contains the following relationships properties - One to many with child entities like Addresses, Properties, Credentials and Identities. This entity hols all the personal information of the user.
Author:
Infosys Equinox
See Also:
  • Field Details

    • dateOfBirth

      public String dateOfBirth
      The date of birth.
    • gender

      public String gender
      The gender.
    • firstName

      @DeIdentify public String firstName
      The first name of the user.
    • lastName

      @DeIdentify public String lastName
      The last name of the user.
    • phoneNumber

      @DeIdentify public String phoneNumber
      User phone number.
    • email

      @DeIdentify public String email
      User email.
    • userName

      @DeIdentify public String userName
      User Name.
    • photo

      public String photo
      User photo.
    • preferences

      public String preferences
      The preferences of the user.
  • Constructor Details

    • UsersEntity

      public UsersEntity()
      Instantiates a new users. Default constructor.
    • UsersEntity

      public UsersEntity(long id)
      Instantiates a new users.
      Parameters:
      id - Indicates the user id.