Closed dvt32 closed 2 months ago
Some entities share many of the same fields, so it'd be better to have a common abstract class, which they extend (something like a Media class).
Media
More info on how to implement it with JPA/Hibernate: https://www.baeldung.com/hibernate-inheritance
Will be included in the next weeks' tasks.
I already implemented super classes Media and MediaDto to my code.
Some entities share many of the same fields, so it'd be better to have a common abstract class, which they extend (something like a
Media
class).More info on how to implement it with JPA/Hibernate: https://www.baeldung.com/hibernate-inheritance