|
@@ -0,0 +1,74 @@
|
|
1
|
+package io.zipcoder.persistenceapp;
|
|
2
|
+
|
|
3
|
+import javax.persistence.GeneratedValue;
|
|
4
|
+import javax.persistence.Id;
|
|
5
|
+
|
|
6
|
+public class Person {
|
|
7
|
+
|
|
8
|
+ @Id
|
|
9
|
+ @GeneratedValue
|
|
10
|
+ private int ID;
|
|
11
|
+ private String FIRST_NAME;
|
|
12
|
+ private String LAST_NAME;
|
|
13
|
+ private String MOBILE;
|
|
14
|
+ private String BIRTHDAY;
|
|
15
|
+ private String HOME_ID;
|
|
16
|
+
|
|
17
|
+ public Person(int ID, String FIRST_NAME, String LAST_NAME, String MOBILE, String BIRTHDAY, String HOME_ID) {
|
|
18
|
+ this.ID = ID;
|
|
19
|
+ this.FIRST_NAME = FIRST_NAME;
|
|
20
|
+ this.LAST_NAME = LAST_NAME;
|
|
21
|
+ this.MOBILE = MOBILE;
|
|
22
|
+ this.BIRTHDAY = BIRTHDAY;
|
|
23
|
+ this.HOME_ID = HOME_ID;
|
|
24
|
+ }
|
|
25
|
+
|
|
26
|
+ public int getID() {
|
|
27
|
+ return ID;
|
|
28
|
+ }
|
|
29
|
+
|
|
30
|
+ public void setID(int ID) {
|
|
31
|
+ this.ID = ID;
|
|
32
|
+ }
|
|
33
|
+
|
|
34
|
+ public String getFIRST_NAME() {
|
|
35
|
+ return FIRST_NAME;
|
|
36
|
+ }
|
|
37
|
+
|
|
38
|
+ public void setFIRST_NAME(String FIRST_NAME) {
|
|
39
|
+ this.FIRST_NAME = FIRST_NAME;
|
|
40
|
+ }
|
|
41
|
+
|
|
42
|
+ public String getLAST_NAME() {
|
|
43
|
+ return LAST_NAME;
|
|
44
|
+ }
|
|
45
|
+
|
|
46
|
+ public void setLAST_NAME(String LAST_NAME) {
|
|
47
|
+ this.LAST_NAME = LAST_NAME;
|
|
48
|
+ }
|
|
49
|
+
|
|
50
|
+ public String getMOBILE() {
|
|
51
|
+ return MOBILE;
|
|
52
|
+ }
|
|
53
|
+
|
|
54
|
+ public void setMOBILE(String MOBILE) {
|
|
55
|
+ this.MOBILE = MOBILE;
|
|
56
|
+ }
|
|
57
|
+
|
|
58
|
+ public String getBIRTHDAY() {
|
|
59
|
+ return BIRTHDAY;
|
|
60
|
+ }
|
|
61
|
+
|
|
62
|
+ public void setBIRTHDAY(String BIRTHDAY) {
|
|
63
|
+ this.BIRTHDAY = BIRTHDAY;
|
|
64
|
+ }
|
|
65
|
+
|
|
66
|
+ public String getHOME_ID() {
|
|
67
|
+ return HOME_ID;
|
|
68
|
+ }
|
|
69
|
+
|
|
70
|
+ public void setHOME_ID(String HOME_ID) {
|
|
71
|
+ this.HOME_ID = HOME_ID;
|
|
72
|
+ }
|
|
73
|
+
|
|
74
|
+}
|