Created
October 9, 2018 21:39
-
-
Save spacebiscuit/59a4ebbade0ea1e96f8b0a5faaf61735 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PropertyPeriods hasMany PropertyPrices | |
PropertyPrices belongsTo PropertyPeriods | |
[ | |
'rentalperiod' => '22/03/18 - 18/04/18', | |
'property_prices' => [ | |
(int) 0 => [ | |
'price' => '50', | |
'room_id' => '30', | |
'property_id' => '51' | |
], | |
(int) 1 => [ | |
'price' => '55', | |
'room_id' => '31', | |
'property_id' => '51' | |
], | |
(int) 2 => [ | |
'price' => '65', | |
'room_id' => '32', | |
'property_id' => '51' | |
], | |
(int) 3 => [ | |
'price' => '100', | |
'room_id' => '33', | |
'property_id' => '51' | |
], | |
(int) 4 => [ | |
'price' => '105', | |
'room_id' => '55', | |
'property_id' => '51' | |
] | |
], | |
'id' => '103' | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment