-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUser.java
More file actions
98 lines (91 loc) · 2.12 KB
/
Copy pathUser.java
File metadata and controls
98 lines (91 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package com.mphasis.demo.model;
import java.time.LocalDate;
public class User
{
private String email;
private String password;
private String name;
private long mobile;
private String location;
private LocalDate dob;
private String securityQuestion;
private String answer;
private int pincode;
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public long getMobile() {
return mobile;
}
public void setMobile(long mobile) {
this.mobile = mobile;
}
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location;
}
public LocalDate getDob() {
return dob;
}
public void setDob(LocalDate dob) {
this.dob = dob;
}
public String getSecurityQuestion() {
return securityQuestion;
}
public void setSecurityQuestion(String securityQuestion) {
this.securityQuestion = securityQuestion;
}
public String getAnswer() {
return answer;
}
public void setAnswer(String answer) {
this.answer = answer;
}
public int getPincode() {
return pincode;
}
public void setPincode(int pincode) {
this.pincode = pincode;
}
public User() {
super();
// TODO Auto-generated constructor stub
}
public User(String email, String password, String name, long mobile, String location, LocalDate dob,
String securityQuestion, String answer, int pincode) {
super();
this.email = email;
this.password = password;
this.name = name;
this.mobile = mobile;
this.location = location;
this.dob = dob;
this.securityQuestion = securityQuestion;
this.answer = answer;
this.pincode = pincode;
}
@Override
public String toString() {
return "email=" + email + ", password=" + password + ", name=" + name + ", mobile=" + mobile
+ ", location=" + location + ", dob=" + dob + ", securityQuestion=" + securityQuestion + ", answer="
+ answer + ", pincode=" + pincode;
}
}