-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathPerson.java
More file actions
72 lines (56 loc) · 1.46 KB
/
Person.java
File metadata and controls
72 lines (56 loc) · 1.46 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
package io.zipcoder.persistenceapp;
import java.util.Date;
public class Person {
private Integer id;
private String first_name;
private String last_name;
private String mobile;
private Date birthday;
private Integer home_id;
public Person (){}
public Person(Integer id, String first_name, String last_name,
String mobile, Date birthday, Integer home_id) {
this.id = id;
this.first_name = first_name;
this.last_name = last_name;
this.mobile = mobile;
this.birthday = birthday;
this.home_id = home_id;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getFirst_name() {
return first_name;
}
public void setFirst_name(String first_name) {
this.first_name = first_name;
}
public String getLast_name() {
return last_name;
}
public void setLast_name(String last_name) {
this.last_name = last_name;
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public Date getBirthday() {
return birthday;
}
public void setBirthday(Date birthday) {
this.birthday = birthday;
}
public Integer getHome_id() {
return home_id;
}
public void setHome_id(Integer home_id) {
this.home_id = home_id;
}
}