-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathHome.java
More file actions
47 lines (36 loc) · 926 Bytes
/
Home.java
File metadata and controls
47 lines (36 loc) · 926 Bytes
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
package io.zipcoder.persistenceapp;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
public class Home {
@Id
private Long home_id;
private String address;
private String homeNumber;
public Home() {
}
public Home(Long home_id, String address, String homeNumber) {
this.home_id = home_id;
this.address = address;
this.homeNumber = homeNumber;
}
public Long getHome_id() {
return home_id;
}
public void setHome_id(Long home_id) {
this.home_id = home_id;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getHomeNumber() {
return homeNumber;
}
public void setHomeNumber(String homeNumber) {
this.homeNumber = homeNumber;
}
}