Last change
on this file since c71fa06 was df4089c, checked in by andrejTavchioski <andrej.tavchioski@…>, 3 years ago |
updateParkingZone fixes
|
-
Property mode
set to
100644
|
File size:
1021 bytes
|
Line | |
---|
1 | package parkup.data;
|
---|
2 |
|
---|
3 | import parkup.entities.Worker;
|
---|
4 |
|
---|
5 | public class WorkerDemo {
|
---|
6 | private int workerId;
|
---|
7 | private String firstName;
|
---|
8 | private String lastName;
|
---|
9 | private String email;
|
---|
10 |
|
---|
11 | public WorkerDemo() {}
|
---|
12 |
|
---|
13 | public WorkerDemo(Worker w) {
|
---|
14 | this.workerId =w.getWorkerId();
|
---|
15 | this.firstName = w.getFirstName();
|
---|
16 | this.lastName = w.getLastName();
|
---|
17 | this.email = w.getEmail();
|
---|
18 | }
|
---|
19 |
|
---|
20 |
|
---|
21 | public int getWorkerId() {
|
---|
22 | return workerId;
|
---|
23 | }
|
---|
24 |
|
---|
25 | public void setWorkerId(int workerId) {
|
---|
26 | this.workerId = workerId;
|
---|
27 | }
|
---|
28 |
|
---|
29 | public String getFirstName() {
|
---|
30 | return firstName;
|
---|
31 | }
|
---|
32 |
|
---|
33 | public void setFirstName(String firstName) {
|
---|
34 | this.firstName = firstName;
|
---|
35 | }
|
---|
36 |
|
---|
37 | public String getLastName() {
|
---|
38 | return lastName;
|
---|
39 | }
|
---|
40 |
|
---|
41 | public void setLastName(String lastName) {
|
---|
42 | this.lastName = lastName;
|
---|
43 | }
|
---|
44 |
|
---|
45 | public String getEmail() {
|
---|
46 | return email;
|
---|
47 | }
|
---|
48 |
|
---|
49 | public void setEmail(String email) {
|
---|
50 | this.email = email;
|
---|
51 | }
|
---|
52 | }
|
---|
53 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.