1 | <?php |
||
11 | class Hotel extends Model |
||
12 | { |
||
13 | /** |
||
14 | * Hotel specific information. |
||
15 | * |
||
16 | * @var stdClass |
||
17 | */ |
||
18 | protected $hotel_data; |
||
19 | |||
20 | /** |
||
21 | * This block has room data for this hotel. |
||
22 | * |
||
23 | * @var array |
||
24 | */ |
||
25 | protected $room_data; |
||
26 | |||
27 | /** |
||
28 | * Unique ID to represent this hotel. |
||
29 | * |
||
30 | * @var integer |
||
31 | */ |
||
32 | protected $hotel_id; |
||
33 | |||
34 | /** |
||
35 | * Collection primary key |
||
36 | * @return int |
||
37 | */ |
||
38 | public function getPrimaryKey(): int |
||
42 | |||
43 | /** |
||
44 | * Hotel specific information. |
||
45 | * @return stdClass |
||
46 | */ |
||
47 | public function getHotelData(): stdClass |
||
51 | |||
52 | /** |
||
53 | * This block has room data for this hotel. |
||
54 | * @return array |
||
55 | */ |
||
56 | public function getRoomData(): array |
||
60 | |||
61 | /** |
||
62 | * Unique ID to represent this hotel. |
||
63 | * @return int |
||
64 | */ |
||
65 | public function getHotelId(): int |
||
69 | |||
70 | /** |
||
71 | * @return array |
||
72 | */ |
||
73 | protected function getAttributeMap(): array |
||
81 | } |
||
82 |