Makes it possible to inherit a class
Look at Single Table Inheritance for more detail
class Person extends Model { static entity = 'person' static types () { return { PERSON: Person, ADULT: Adult } } static fields () { return { id: this.attr(null), name: this.attr('') } }}
export interface InheritanceTypes { [key: string]: typeof Model}function $types(): InheritanceTypes