The ObjectBox documentation gives some examples of how you can use inheritance. However it gives the example in Java and not Kotlin. The Kotlin examples it does give use Kot