com.something.SuperClass:
@Entity @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) public abstract class SuperClass implements Seria
you can use @MappedSuperclass for inheritance