1 | package parkup.data;
|
---|
2 |
|
---|
3 | import parkup.entities.ParkingSpace;
|
---|
4 |
|
---|
5 | import java.util.List;
|
---|
6 |
|
---|
7 | public class ParkingZoneAdminView {
|
---|
8 | private int pzId;
|
---|
9 | private String pzName;
|
---|
10 | private int price;
|
---|
11 | private int time_from;
|
---|
12 | private int time_to;
|
---|
13 | private String address;
|
---|
14 | private String color;
|
---|
15 | private List<ParkingSpace> parkingSpaces;
|
---|
16 | private ParkingZoneLocation parkingZoneLocation;
|
---|
17 | private List<Integer> odgovorniLica;
|
---|
18 |
|
---|
19 | public ParkingZoneAdminView(int pzId, String pzName, int price, int time_from, int time_to, String address, String color, List<ParkingSpace> parkingSpaces, ParkingZoneLocation parkingZoneLocation, List<Integer> odgovorniLica) {
|
---|
20 | this.pzId = pzId;
|
---|
21 | this.pzName = pzName;
|
---|
22 | this.price = price;
|
---|
23 | this.time_from = time_from;
|
---|
24 | this.time_to = time_to;
|
---|
25 | this.address = address;
|
---|
26 | this.color = color;
|
---|
27 | this.parkingSpaces = parkingSpaces;
|
---|
28 | this.parkingZoneLocation = parkingZoneLocation;
|
---|
29 | this.odgovorniLica = odgovorniLica;
|
---|
30 | }
|
---|
31 |
|
---|
32 | public ParkingZoneAdminView() {}
|
---|
33 |
|
---|
34 | public int getPzId() {
|
---|
35 | return pzId;
|
---|
36 | }
|
---|
37 |
|
---|
38 | public void setPzId(int pzId) {
|
---|
39 | this.pzId = pzId;
|
---|
40 | }
|
---|
41 |
|
---|
42 | public String getPzName() {
|
---|
43 | return pzName;
|
---|
44 | }
|
---|
45 |
|
---|
46 | public void setPzName(String pzName) {
|
---|
47 | this.pzName = pzName;
|
---|
48 | }
|
---|
49 |
|
---|
50 | public int getPrice() {
|
---|
51 | return price;
|
---|
52 | }
|
---|
53 |
|
---|
54 | public void setPrice(int price) {
|
---|
55 | this.price = price;
|
---|
56 | }
|
---|
57 |
|
---|
58 | public int getTime_from() {
|
---|
59 | return time_from;
|
---|
60 | }
|
---|
61 |
|
---|
62 | public void setTime_from(int time_from) {
|
---|
63 | this.time_from = time_from;
|
---|
64 | }
|
---|
65 |
|
---|
66 | public int getTime_to() {
|
---|
67 | return time_to;
|
---|
68 | }
|
---|
69 |
|
---|
70 | public void setTime_to(int time_to) {
|
---|
71 | this.time_to = time_to;
|
---|
72 | }
|
---|
73 |
|
---|
74 | public String getAddress() {
|
---|
75 | return address;
|
---|
76 | }
|
---|
77 |
|
---|
78 | public void setAddress(String address) {
|
---|
79 | this.address = address;
|
---|
80 | }
|
---|
81 |
|
---|
82 | public String getColor() {
|
---|
83 | return color;
|
---|
84 | }
|
---|
85 |
|
---|
86 | public void setColor(String color) {
|
---|
87 | this.color = color;
|
---|
88 | }
|
---|
89 |
|
---|
90 | public List<ParkingSpace> getParkingSpaces() {
|
---|
91 | return parkingSpaces;
|
---|
92 | }
|
---|
93 |
|
---|
94 | public void setParkingSpaces(List<ParkingSpace> parkingSpaces) {
|
---|
95 | this.parkingSpaces = parkingSpaces;
|
---|
96 | }
|
---|
97 |
|
---|
98 | public ParkingZoneLocation getParkingZoneLocation() {
|
---|
99 | return parkingZoneLocation;
|
---|
100 | }
|
---|
101 |
|
---|
102 | public void setParkingZoneLocation(ParkingZoneLocation parkingZoneLocation) {
|
---|
103 | this.parkingZoneLocation = parkingZoneLocation;
|
---|
104 | }
|
---|
105 |
|
---|
106 | public List<Integer> getOdgovorniLica() {
|
---|
107 | return odgovorniLica;
|
---|
108 | }
|
---|
109 |
|
---|
110 | public void setOdgovorniLica(List<Integer> odgovorniLica) {
|
---|
111 | this.odgovorniLica = odgovorniLica;
|
---|
112 | }
|
---|
113 | }
|
---|