Is your feature request related to a problem? Please describe.
When you look to the last section: I wish that B had the id field as well. Currently, this doesn't seem to be the case. It can lead to reduction of boilerplate code and better maintainability.
I can imagine scenarios where you don't want to inherit these properties. In this case one could add an Annotation on the inheriting class like: @DoNotInheritModelProperties
Describe the solution you'd like
See above
Describe alternatives you've considered
See above.
Additional context
´´´
class A extends Model {
@column
int id;
}
class B extends A {}
´´´
Is your feature request related to a problem? Please describe.
When you look to the last section: I wish that B had the id field as well. Currently, this doesn't seem to be the case. It can lead to reduction of boilerplate code and better maintainability.
I can imagine scenarios where you don't want to inherit these properties. In this case one could add an Annotation on the inheriting class like: @DoNotInheritModelProperties
Describe the solution you'd like
See above
Describe alternatives you've considered
See above.
Additional context
´´´
class A extends Model {
@column
int id;
}
class B extends A {}
´´´