HTML and CSS Reference
In-Depth Information
@Basic(optional = false)
@NotNull
@Size(min = 3, max = 32, message = "Last name must be between 3 and 32 characters")
@Column(name = "LAST_NAME")
private String lastName;
@Basic(optional = false)
@NotNull
@Size(min = 6, max = 32, message = "Password must be between 6 and 32 characters")
@Column(name = "PASSWORD")
private String password;
@Transient
private String password2;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "userId")
private List<UserGroup> userGroupList;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "userId")
private List<BookRequest> bookRequestList;
public MegaUser() {
}
public MegaUser(String id) {
this.id = id;
}
public MegaUser(String id, String firstName, String lastName, String password) {
this.id = id;
this.firstName = firstName;
this.lastName = lastName;
this.password = password;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
Search WWH ::




Custom Search