Issue converting Java bean with inheritance to Kotlin
<p>On the current Java class we have 2 Java beans Clazz1 and Clazz2 where both extend super class SuperClazz. We also have a list where we iterate the super class entries which can be Clazz1 or Clazz2:</p>

<pre><code>List&lt;SuperClazz&gt; entries;
</code></pre>

<p>We now need to convert the code to Kotlin but since <em>data class</em> does not support inheritance we are unsure on the best way to tackle the issue, do we just create a standard Kotlin class with variables, extends the super class, and manually craft the getter-setters? Or, is there any better way of doing this?</p>