dianamiraflor / 4806-project

0 stars 1 forks source link

Implement models / data logic #2

Closed dianamiraflor closed 1 year ago

dianamiraflor commented 1 year ago

Implementing the concrete classes needed for SurveyMonkey

dianamiraflor commented 1 year ago

March 4

Accomplished:

uml-class drawio

I wasn't able to add the JPA annotations + docs today. But the functions are very basic

dianamiraflor commented 1 year ago

Added JPA annotations to the model, and used JOINED strategy for Inheritance Mapping because a single table would have empty columns for the subclasses of Questions - with the way it is currently implemented.

Let me know if you have better ways to implement inheritance between Questions and its subclasses.

brnjamino commented 1 year ago

updated the names and datatypes of some fields to work better with controller