Author
contains an inverse side of a relation. is always an inverse side of relation, and it can’t exist without ManyToOne
on the other side of the relation.
In many-to-one / one-to-many relation, the owner side is always many-to-one.It means that the class that uses will store the id of the related object.
It will also modify the table, adding a new author
column and creating a foreign key for it: