newaustriancodingschool / hackboard

Hackathon-Dashboard
6 stars 8 forks source link

Application Entity #86

Closed rainerhahnekamp closed 6 years ago

rainerhahnekamp commented 6 years ago

We have to create the relationship for the applicants. So between UserRole and User

rainerhahnekamp commented 6 years ago

Careful with the naming. It is Application and not Applicant. Applicant is a person, but in our case the person is already the user. Please rename that and don't use an int in the entitiy but classes as properties. So Role, Project and User

rainerhahnekamp commented 6 years ago

The relations are not @OneToOne but @ManyToOne