We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
My entities share common columns:
abstract class WithUpdate { @Column(isNullable: true) DateTime updatedAt; }
When inheriting from the above class:
class SomeEntity extends WithUpdate { @PrimaryKey() int id; }
code generation not generate fields from abstract class;
gen code:
abstract class _SomeEntityBean implements Bean<SomeEntity> { final id = IntField('id'); Map<String, Field> _fields; Map<String, Field> get fields => _fields ??= { id.name: id, }; SomeEntity fromMap(Map map) { SomeEntity model = SomeEntity(); model.id = adapter.parseValue(map['id']); return model; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My entities share common columns:
When inheriting from the above class:
code generation not generate fields from abstract class;
gen code:
The text was updated successfully, but these errors were encountered: