Jpa entity class design

I am a novice in database. Recently, when using spring-data-jpa, I encountered the problem that I could not design entity classes according to the Emurr model, so I asked a question.
Emurr model is shown in the following figure:

clipboard.png

consider Company and Employee and their employment relationship, which is obviously an one-to-many entity relationship, so should @ OneToMany and @ ManyToOne be used in jpa or other annotations? Should Company have a list of Employee? How to insert data into the database?

look forward to the advice of high-level people, thank you!

Menu