Class Model

Proprietà comuni di un modello.

todo

Aggiungere validazione

Hierarchy

  • Model

Index

Properties

Static baseUrl

baseUrl: string

URL di base

Static columns

columns: ColumnConfig[] = [{ key: 'id', dataIndex: 'id', title: 'ID' },]

Colonne di default per la visualizzazione

Static displayName

displayName: string

Il nome della risorsa.

Static displayPlural

displayPlural: string

Il nome della risorsa al plurale.

Static plural

plural: string

Nome plurale per l'identificativo

Static Optional recordName

recordName: function | string

Proprietà da cui ottenere il nome del record

Static relations

relations: RelationMap

Definizione delle relazioni

Static singular

singular: string

Nome singolare utilizzato come identificativo

Methods

Static displayRecordName

  • displayRecordName(record: any | null): any
  • Ottiene il nome per la visualizzazione di un Record.

    Parameters

    • record: any | null

    Returns any

Object literals

Static pagination

pagination: object

Paginazione

allowedPageSizes

allowedPageSizes: number[] = [2, 10, 20]

pageSize

pageSize: number = 10

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc