|
@@ -0,0 +1,39 @@
|
|
1
|
+package io.zipcoder.persistenceapp.model;
|
|
2
|
+
|
|
3
|
+public class Home {
|
|
4
|
+ private Integer id;
|
|
5
|
+ private String address, homeNumber;
|
|
6
|
+
|
|
7
|
+ public Home(Integer id, String address, String homeNumber) {
|
|
8
|
+ this.id = id;
|
|
9
|
+ this.address = address;
|
|
10
|
+ this.homeNumber = homeNumber;
|
|
11
|
+ }
|
|
12
|
+
|
|
13
|
+ public Home() {
|
|
14
|
+ }
|
|
15
|
+
|
|
16
|
+ public Integer getId() {
|
|
17
|
+ return id;
|
|
18
|
+ }
|
|
19
|
+
|
|
20
|
+ public void setId(Integer id) {
|
|
21
|
+ this.id = id;
|
|
22
|
+ }
|
|
23
|
+
|
|
24
|
+ public String getAddress() {
|
|
25
|
+ return address;
|
|
26
|
+ }
|
|
27
|
+
|
|
28
|
+ public void setAddress(String address) {
|
|
29
|
+ this.address = address;
|
|
30
|
+ }
|
|
31
|
+
|
|
32
|
+ public String getHomeNumber() {
|
|
33
|
+ return homeNumber;
|
|
34
|
+ }
|
|
35
|
+
|
|
36
|
+ public void setHomeNumber(String homeNumber) {
|
|
37
|
+ this.homeNumber = homeNumber;
|
|
38
|
+ }
|
|
39
|
+}
|