Subversion Repositories SmartDukaan

Rev

Rev 28966 | Rev 31860 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28966 Rev 29209
Line 22... Line 22...
22
	@Column(name = "email_id", unique = true, updatable = false)
22
	@Column(name = "email_id", unique = true, updatable = false)
23
	private String emailId;
23
	private String emailId;
24
 
24
 
25
	@Column(name = "gmail_id", unique = true)
25
	@Column(name = "gmail_id", unique = true)
26
	private String gmailId;
26
	private String gmailId;
-
 
27
	
-
 
28
	@Column(name = "manager_id")
-
 
29
	private int managerId;
27
 
30
 
28
	@Column(name = "employee_code")
31
	@Column(name = "employee_code")
29
	private String employeeCode;
32
	private String employeeCode;
30
	
33
	
31
	@Column(name = "ho_user")
34
	@Column(name = "ho_user")
32
	private boolean hoUser;
35
	private boolean hoUser;
-
 
36
	
-
 
37
	@Column(name = "active")
-
 
38
	private Boolean active;
-
 
39
 
-
 
40
	@Column(name = "first_name", nullable = false)
-
 
41
	private String firstName;
-
 
42
 
-
 
43
	@Column(name = "last_name")
-
 
44
	private String lastName;
-
 
45
 
-
 
46
	@Column(name = "mobile_number", unique = true, updatable = false)
-
 
47
	private String mobileNumber;
-
 
48
 
-
 
49
	@Column(name = "password")
-
 
50
	private String password;
-
 
51
 
-
 
52
	@Column(name = "created_timestamp")
-
 
53
	private LocalDateTime createdTimestamp;
-
 
54
 
-
 
55
	@Column(name = "last_login_timestap", unique = true, updatable = true)
-
 
56
	private LocalDateTime lastLoginTimestamp;
33
 
57
 
34
	public String getEmployeeCode() {
58
	public String getEmployeeCode() {
35
		return employeeCode;
59
		return employeeCode;
36
	}
60
	}
37
	
61
	
Line 56... Line 80...
56
 
80
 
57
	public void setEmployeeCode(String employeeCode) {
81
	public void setEmployeeCode(String employeeCode) {
58
		this.employeeCode = employeeCode;
82
		this.employeeCode = employeeCode;
59
	}
83
	}
60
 
84
 
61
	@Column(name = "active")
-
 
62
	private Boolean active;
85
	
63
 
86
	
64
	@Column(name = "first_name", nullable = false)
87
	public int getManagerId() {
65
	private String firstName;
88
		return managerId;
-
 
89
	}
66
 
90
 
67
	@Column(name = "last_name")
-
 
68
	private String lastName;
-
 
69
 
91
 
70
	@Column(name = "mobile_number", unique = true, updatable = false)
92
	public void setManagerId(int managerId) {
71
	private String mobileNumber;
93
		this.managerId = managerId;
72
 
94
	}
73
	@Column(name = "password")
-
 
74
	private String password;
-
 
75
 
95
 
76
	@Column(name = "created_timestamp")
-
 
77
	private LocalDateTime createdTimestamp;
-
 
78
 
96
 
79
	@Column(name = "last_login_timestap", unique = true, updatable = true)
-
 
80
	private LocalDateTime lastLoginTimestamp;
-
 
81
	
-
 
82
	public String getFullName() {
97
	public String getFullName() {
83
		return (this.firstName + " " + this.lastName).trim();
98
		return (this.firstName + " " + this.lastName).trim();
84
	}
99
	}
85
 
100
 
86
	public Boolean isActive() {
101
	public Boolean isActive() {