Since the `$name` and `$type` mappings are duplicated in each inheriting class, you can get away with annotating this as a `MappedSuperclass` and defining the field mappings here.