@quadnix/octoDecoratorsModelModel CallableModel(): (constructor: any) => voidA @Model is a class decorator to be placed on top of a class that represents a model.A model must extend the AModel class.@example@Model()export class MyModel extends AModel<IMyModel, MyModel> { ... }@seeDefinition of Models.Returns (constructor: any) => voidThe decorated class.(constructor: any): voidParametersconstructor: anyReturns void
A
@Model
is a class decorator to be placed on top of a class that represents a model.Definition of Models.