Reputation: 13
How to annotate it?
Tables:
I need to annotate them with
Upvotes: 1
Views: 118
Reputation: 152
GROUP_SUBJECT_TEACHER will be mapped as an Entity called GroupSubjectTeacher:
each of Group, Teacher and Subject will have OneToMany relationship with GroupSubjectTeacher and GroupSubjectTeacher will have ManyToOne relationship with each of other entities
if you need more explanation, don't hesitate to ask
Upvotes: 1