Package projectplayground.domains
Class User
java.lang.Object
projectplayground.domains.BaseEntity
projectplayground.domains.User
@Entity public class User extends BaseEntity
this class is used to map the user
it contains also the accessLevel, playgoundFavorites and friends
shows the currently accessed playgound
-
Field Summary
Fields Modifier and Type Field Description private Accesslevel
accessLevel
private int
children
private Playground
currentPlayground
private java.lang.String
email
private java.lang.String
firstName
private java.util.List<User>
friends
private java.lang.String
lastName
private java.lang.String
message
private java.lang.String
password
private java.util.List<Playground>
playgroundFavorites
private java.lang.String
username
-
Constructor Summary
Constructors Constructor Description User()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
username
private java.lang.String username -
password
private java.lang.String password -
email
private java.lang.String email -
firstName
private java.lang.String firstName -
lastName
private java.lang.String lastName -
message
private java.lang.String message -
accessLevel
-
children
private int children -
playgroundFavorites
-
friends
-
currentPlayground
-
-
Constructor Details
-
User
public User()
-