Entity decorator. It is required to be applied only if entity declares no field. If record declares any field, there no strict need to apply this decorator. Its better to do this anyway, for consistency.
@entity() class Author extends Entity.mix(Base) { } @entity() class SpecialAuthor extends Author { }
Generated using TypeDoc
Entity decorator. It is required to be applied only if entity declares no field. If record declares any field, there no strict need to apply this decorator. Its better to do this anyway, for consistency.
@entity() class Author extends Entity.mix(Base) { } @entity() class SpecialAuthor extends Author { }