entity

Defines the entity name in the store


This field is required and must be set in every model

Usage

class User extends Model {  static entity = 'users'  static fields () {    return {      userId: this.attr(null)    }  }}

Typescript Declarations

const entity: string = undefined