Repository navigation
Expand file tree
/
Copy pathBookAuthor.java
More file actions
121 lines (89 loc) · 2.03 KB
/
Copy pathBookAuthor.java
File metadata and controls
121 lines (89 loc) · 2.03 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
package model;
import java.io.Serializable;
import javax.persistence.*;
/**
* The persistent class for the BOOK_AUTHOR database table.
*
*/
@Entity
@Table(name="BOOK_AUTHOR")
@NamedQuery(name="BookAuthor.findAll", query="SELECT b FROM BookAuthor b")
public class BookAuthor implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
@Column(name="ID")
private int id;
@Column(name="`DESC`")
private Character[] desc;
@Column(name="EMAIL")
private String email;
@Column(name="FIRST")
private String first;
@Column(name="GENDER")
private String gender;
@Column(name="LAST")
private String last;
@Column(name="OCCUPATION")
private String occupation;
@Column(name="PASSWORD")
private String password;
@Column(name="RECEIVE_NOTIFICATIONS")
private String receiveNotifications;
public BookAuthor() {
}
public int getId() {
return this.id;
}
public void setId(int id) {
this.id = id;
}
public Character[] getDesc() {
return this.desc;
}
public void setDesc(Character[] desc) {
this.desc = desc;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public String getFirst() {
return this.first;
}
public void setFirst(String first) {
this.first = first;
}
public String getGender() {
return this.gender;
}
public void setGender(String gender) {
this.gender = gender;
}
public String getLast() {
return this.last;
}
public void setLast(String last) {
this.last = last;
}
public String getOccupation() {
return this.occupation;
}
public void setOccupation(String occupation) {
this.occupation = occupation;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public String getReceiveNotifications() {
return this.receiveNotifications;
}
public void setReceiveNotifications(String receiveNotifications) {
this.receiveNotifications = receiveNotifications;
}
}