Programming_Assignment_Advanced_1_2024
Programming_Assignment_Advanced_1_2024
Our client has several vacation parks located across the country. Each park consists of several
streets
and houses that are rented out for vacation stays. In each park, various facilities are available, such
as
a swimming pool, mini-golf, restaurant, playgrounds, etc. Currently, there are already 20,000
customers,
8 parks, and approximately 250 houses distributed across the various parks. Our task is to provide
the
A park is characterized by a unique numerical identifier, a name, and a location. Each house also
has
a unique numerical identifier and an address within the park (street name and number). If a house
requires
maintenance, we must ensure that no rental agreements can be made for that house. Only when
the house is
Note: There might already be reservations made for that house. In such cases, the "problematic
reservations"
For a rental contract, we always mention the start and end date of the rental, the customer for whom
the
contract is made, and the house. Each rental contract also has a unique identifier.
- A list of the different houses: huizen.txt (id, street, number, true if the house is active, and false if
the
house is under maintenance, and finally the number of people the house can accommodate).
- An overview of which houses belong to each park: park_huizen.txt (park_id and house_id).
Assignment
The task is to import the existing data into a database. Additionally, an application must be created
that offers
- Creating Reservations:
- The customer must be able to easily and user-friendly select a park. Options such as choosing
based on location
- Once the customer selects a park, they must specify the number of people and the desired rental
period.
- The application will then display the available houses in the park, after which the customer makes
their choice,
- Searching Reservations:
- It must be possible to search for reservations based on the customer (name) or based on a period
and park.
- Before placing a house under maintenance, the reservations that may need to be adjusted must
first be displayed.
- These reservations must be saved so that each customer can be offered a new proposal.
Good luck!