How to inherit properties from entity super classes.
ObjectBox - Entity Super Classes
Only available for Java/Kotlin at the moment
ObjectBox allows entity inheritance to share persisted properties in super classes. The base class can be an entity or non-entity class. For this purpose the @Entity annotation is complemented by the @BaseEntity annotation. There are three types of super classes, which are defined via annotations:
No annotation: The base class and its properties are not considered for persistence.
@BaseEntity: Properties are considered for persistence in sub classes, but the base class itself cannot be persisted.
@Entity: Properties are considered for persistence in sub classes, and the base class itself is a normally persisted entity.