UML class diagram for database

前端 未结 3 1983
庸人自扰
庸人自扰 2021-01-16 13:55

I have an assignment for developing a hotel reservation system! One of tasks is to develop UML class diagram! However, in the task description it is written \"Class diagra

3条回答
  •  鱼传尺愫
    2021-01-16 14:10

    First I would like to brief you about the different types of classes for a class diagram into which one can view the entire system in a static view.

    1. Some classes are entity(model) classes which define the database model for application domain persist for longer duration. In the above mentioned case it can be customer, hotel staff, hotel menu, seating info.

    2. Some classes define the GUI & presentation to the user such as view classes.

    3. Some classes define the control the program logic, process user events which can be called as control classes.

    4. Some classes can be viewed as the resource classes which are responsible for communication with external data resources.

    For all the mentioned classes above the notations, rules followed in UML will be same but their usage, intent will be different.

    For your problem, you need to capture these entity classes for the mentioned system through which you can model the database for your system. I hope it will help you a bit.

提交回复
热议问题