File tree 3 files changed +85
-0
lines changed
src/cn/com/coderZoe/Module6JDBC/Class10ORMFrame/po
3 files changed +85
-0
lines changed Original file line number Diff line number Diff line change
1
+ package cn .com .coderZoe .Module6JDBC .Class10ORMFrame .po ;
2
+
3
+ import java .sql .*;
4
+ import java .util .*;
5
+
6
+ public class Department {
7
+
8
+ private String address ;
9
+ private Integer id ;
10
+ private String depname ;
11
+
12
+ public String getAddress () {
13
+ return this .address ;
14
+ }
15
+ public Integer getId () {
16
+ return this .id ;
17
+ }
18
+ public String getDepname () {
19
+ return this .depname ;
20
+ }
21
+
22
+ public void setAddress (String address ) {
23
+ this .address = address ;
24
+ }
25
+ public void setId (Integer id ) {
26
+ this .id = id ;
27
+ }
28
+ public void setDepname (String depname ) {
29
+ this .depname = depname ;
30
+ }
31
+
32
+ }
Original file line number Diff line number Diff line change
1
+ package cn .com .coderZoe .Module6JDBC .Class10ORMFrame .po ;
2
+
3
+ import java .sql .*;
4
+ import java .util .*;
5
+
6
+ public class Employee {
7
+
8
+ private String name ;
9
+ private Integer depid ;
10
+ private Integer id ;
11
+ private Double salary ;
12
+ private java .sql .Date hiredate ;
13
+ private Integer age ;
14
+
15
+ public String getName () {
16
+ return this .name ;
17
+ }
18
+ public Integer getDepid () {
19
+ return this .depid ;
20
+ }
21
+ public Integer getId () {
22
+ return this .id ;
23
+ }
24
+ public Double getSalary () {
25
+ return this .salary ;
26
+ }
27
+ public java .sql .Date getHiredate () {
28
+ return this .hiredate ;
29
+ }
30
+ public Integer getAge () {
31
+ return this .age ;
32
+ }
33
+
34
+ public void setName (String name ) {
35
+ this .name = name ;
36
+ }
37
+ public void setDepid (Integer depid ) {
38
+ this .depid = depid ;
39
+ }
40
+ public void setId (Integer id ) {
41
+ this .id = id ;
42
+ }
43
+ public void setSalary (Double salary ) {
44
+ this .salary = salary ;
45
+ }
46
+ public void setHiredate (java .sql .Date hiredate ) {
47
+ this .hiredate = hiredate ;
48
+ }
49
+ public void setAge (Integer age ) {
50
+ this .age = age ;
51
+ }
52
+
53
+ }
You can’t perform that action at this time.
0 commit comments