-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathPersonalInfo.java
More file actions
65 lines (50 loc) · 1.17 KB
/
PersonalInfo.java
File metadata and controls
65 lines (50 loc) · 1.17 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
package com.codejam.demo.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "personal_information")
public class PersonalInfo {
@Id
@Column(name = "id")
private int id;
@Column(name = "real_name", length = 50)
private String realName;
@Column(name = "idol_name", length = 60)
private String idolName;
@Column(name = "address", length = 255)
private String idolAddress;
@Column(name = "idol_status", length = 25)
private String idolStatus;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getRealName() {
return realName;
}
public void setRealName(String realName) {
this.realName = realName;
}
public String getIdolName() {
return idolName;
}
public void setIdolName(String idolName) {
this.idolName = idolName;
}
public String getIdolAddress() {
return idolAddress;
}
public void setIdolAddress(String idolAddress) {
this.idolAddress = idolAddress;
}
public String getIdolStatus() {
return idolStatus;
}
public void setIdoltaStus(String idolStatus) {
this.idolStatus = idolStatus;
}
}