I'm creating a system of availability for rooms and with a calendar according to the days, with every day have it's own price.
Room Type | 01 | 02 | 03 | 04 | 05 | ... | 31 |
-----------------------------------------------------------
Single | $100 | $100 | $200 | $200 | $200 | ... | $300 |
-----------------------------------------------------------
Double | $150 | $150 | $200 | $250 | $350 | ... | $320 |
The best thing that I come accross is :
RoomsAvailable
--------------
# ID
room_type
from_date
to_date
price
But, despite this table is flexible with the periodes, it is not with every single day's price.
Thanks in advance.