Hello everybody,
I'd like to implement an application of rooms and doors as follows;
room has identification number and description, e.g. Art Hall.
room has one or more door(s) in one direction, e.g. door 1 allows you to move from room 1 to room 2 not the way around.
Each student has ID card, and he is allowed to enter specific room depend on a specific policy. When he is allowed, the system store that room (x) has list of students in this room.
I need to know how can I represent these classes, i.e. the data structure.
Thanks in advance