Building blocks
We borrowed the term classes from object-oriented programming as a collection of things that belong together. Classes can be Tables or Codeunits in Microsoft Dynamics NAV.
The first step in our process is to define the classes. These will be created as Tables or Codeunits, following the Patterns that we have learned:
Setup |
This is a generic set of parameters for the application |
Guest |
This is a person who stays at our B & B. This can be one person, two persons, or a group (family) |
Room |
Our B & B has a number of rooms with different attributes that determine the price, together with the season |
Season |
This is the time of the year |
Price |
This is the price for one night in a room |
Reservation |
Rooms can be reserved on a day-by-day basis with a start and end date |
Stay |
This is a set of one or more consecutive nights at our B & B |
Check-In |
This is the start of a Stay; checking in for reservation |
Check-Out... |