RentalBooking To Help for Developers

A rental booking reserves a house (all beds) for the rental. The table name probably should have been 'rental_house' and the model RentalHouse.

Table: rental_booking

date_start
date house first needed
date_end
date house last needed (the day before the end date of the rental)
h_type
housing type - see the h_type field of Registration
house_id
foreign key to house
rental_id
foreign key to rental

Relations

househousebelongs_to
rentalrentalbelongs_to