Kavindu Senevirathne
Kavindu Senevirathne

Reputation: 45

ERD Into Class Diagrams

ERD when I convert the above ERD into Class Diagram classes, I noticed the classes as below.

I need to know how to convert "LecturerHasModule" and "studentHasModule" entities into classes. I'm confused to select their attributes.

Upvotes: 2

Views: 1803

Answers (1)

bruno
bruno

Reputation: 32586

The more logical seems to have a class-association between Module and Student and between Lecture(r) and Module

enter image description here

Impossible to answer you about teacherHasModule because it does not appear in your question (may be a typo for LecturerHasModule)

Upvotes: 3

Related Questions