Package com.skava.entities
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 Summary
FieldsModifier and TypeFieldDescriptionThe date of birth.User email.The first name of the user.The gender.The last name of the user.User phone number.User photo.The preferences of the user.User Name. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
dateOfBirth
The date of birth. -
gender
The gender. -
firstName
The first name of the user. -
lastName
The last name of the user. -
phoneNumber
User phone number. -
email
User email. -
userName
User Name. -
photo
User photo. -
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.
-