source: src/main/java/com/tourMate/dto/HotelDto.java@ e9b4ba9

Last change on this file since e9b4ba9 was e9b4ba9, checked in by darsov2 <62809499+darsov2@…>, 6 months ago

prototype

  • Property mode set to 100644
File size: 2.9 KB
Line 
1package com.tourMate.dto;
2
3import com.tourMate.entities.HotelRoom;
4import com.tourMate.entities.HotelRoomAvailable;
5import com.tourMate.entities.User;
6
7import java.util.ArrayList;
8import java.util.Collection;
9import java.util.List;
10
11public class HotelDto {
12 private long hotelId;
13 private String hotelName;
14 private String hotelDescripiton;
15 private String hotelLocation;
16 private String hotelEDBS;
17 private Boolean parking;
18 private Boolean petFriendly;
19 private Boolean internetAvailable;
20 private double totalPrice;
21 private List<HotelRoomAvailable> hotelRooms;
22
23 public HotelDto(long hotelId, String hotelName, String hotelDescripiton, String hotelLocation, String hotelEDBS, Boolean parking, Boolean petFriendly, Boolean internetAvailable, double totalPrice, List<HotelRoomAvailable> hotelRooms) {
24 this.hotelId = hotelId;
25 this.hotelName = hotelName;
26 this.hotelDescripiton = hotelDescripiton;
27 this.hotelLocation = hotelLocation;
28 this.hotelEDBS = hotelEDBS;
29 this.parking = parking;
30 this.petFriendly = petFriendly;
31 this.internetAvailable = internetAvailable;
32 this.totalPrice = totalPrice;
33 this.hotelRooms = hotelRooms;
34 }
35
36 public long getHotelId() {
37 return hotelId;
38 }
39
40 public void setHotelId(long hotelId) {
41 this.hotelId = hotelId;
42 }
43
44 public String getHotelName() {
45 return hotelName;
46 }
47
48 public void setHotelName(String hotelName) {
49 this.hotelName = hotelName;
50 }
51
52 public String getHotelDescripiton() {
53 return hotelDescripiton;
54 }
55
56 public void setHotelDescripiton(String hotelDescripiton) {
57 this.hotelDescripiton = hotelDescripiton;
58 }
59
60 public String getHotelLocation() {
61 return hotelLocation;
62 }
63
64 public void setHotelLocation(String hotelLocation) {
65 this.hotelLocation = hotelLocation;
66 }
67
68 public String getHotelEDBS() {
69 return hotelEDBS;
70 }
71
72 public void setHotelEDBS(String hotelEDBS) {
73 this.hotelEDBS = hotelEDBS;
74 }
75
76 public Boolean getParking() {
77 return parking;
78 }
79
80 public void setParking(Boolean parking) {
81 this.parking = parking;
82 }
83
84 public Boolean getPetFriendly() {
85 return petFriendly;
86 }
87
88 public void setPetFriendly(Boolean petFriendly) {
89 this.petFriendly = petFriendly;
90 }
91
92 public Boolean getInternetAvailable() {
93 return internetAvailable;
94 }
95
96 public void setInternetAvailable(Boolean internetAvailable) {
97 this.internetAvailable = internetAvailable;
98 }
99
100 public double getTotalPrice() {
101 return totalPrice;
102 }
103
104 public void setTotalPrice(double totalPrice) {
105 this.totalPrice = totalPrice;
106 }
107
108 public List<HotelRoomAvailable> getHotelRooms() {
109 return hotelRooms;
110 }
111
112 public void setHotelRooms(List<HotelRoomAvailable> hotelRooms) {
113 this.hotelRooms = hotelRooms;
114 }
115}
Note: See TracBrowser for help on using the repository browser.