UserProfile.java 3.72 KiB
package com.tarento.retail.model;
import java.util.Date;
import java.util.List;
/**
 * This model contains the User Profile Information for a User
 * 
 * @author Darshan Nagesh
public class UserProfile extends User {
	private Long profileId;
	private String firstName;
	private String lastName;
	private int age;
	private String dob;
	private String gender;
	private String avatarUrl;
	private Date startDate;
	private Date endDate;
	private Long salary;
	private String country;
	private Date registrationDate;
	private String employmentType;
	private Date createdDate;
	private Long createdBy;
	private Date updatedDate;
	private Long updatedBy;
	private List<Role> roles;
	private List<Long> roleId;
	private String countryCode;
	private Long countryId;
	private List<InstituteCourses> instituteCourses;
	public Long getCountryId() {
		return countryId;
	public void setCountryId(Long countryId) {
		this.countryId = countryId;
	public String getCountryCode() {
		return countryCode;
	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	public List<Role> getRoles() {
		return roles;
	public void setRoles(List<Role> roles) {
		this.roles = roles;
	public String getCountry() {
		return country;
	public void setCountry(String country) {
		this.country = country;
	public UserProfile() {
7172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
public String getEmploymentType() { return employmentType; } public void setEmploymentType(String employmentType) { this.employmentType = employmentType; } public Long getProfileId() { return profileId; } public void setProfileId(Long profileId) { this.profileId = profileId; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public int getAge() { return age; } public void setAge(int age) { this.age = age; } public String getDob() { return dob; } public void setDob(String dob) { this.dob = dob; } public String getGender() { return gender; } public void setGender(String gender) { this.gender = gender; } public String getAvatarUrl() { return avatarUrl; } public void setAvatarUrl(String avatarUrl) { this.avatarUrl = avatarUrl; } public Date getStartDate() { return startDate; } public void setStartDate(Date startDate) {
141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
this.startDate = startDate; } public Date getEndDate() { return endDate; } public void setEndDate(Date endDate) { this.endDate = endDate; } public Long getSalary() { return salary; } public void setSalary(Long salary) { this.salary = salary; } public Date getRegistrationDate() { return registrationDate; } public void setRegistrationDate(Date registrationDate) { this.registrationDate = registrationDate; } public Date getCreatedDate() { return createdDate; } public void setCreatedDate(Date createdDate) { this.createdDate = createdDate; } public Long getCreatedBy() { return createdBy; } public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } public Date getUpdatedDate() { return updatedDate; } public void setUpdatedDate(Date updatedDate) { this.updatedDate = updatedDate; } public Long getUpdatedBy() { return updatedBy; } public void setUpdatedBy(Long updatedBy) { this.updatedBy = updatedBy; } public List<Long> getRoleId() { return roleId; } public void setRoleId(List<Long> roleId) { this.roleId = roleId; } public List<InstituteCourses> getInstituteCourses() { return instituteCourses; }
211212213214215216217218
public void setInstituteCourses(List<InstituteCourses> instituteCourses) { this.instituteCourses = instituteCourses; } }