Mercurial > lada > lada-client
view app/model/Deskriptor.js @ 1218:8f65341723bf schema-update
Close branch schema-update after being merged into default.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 14 Oct 2016 18:35:02 +0200 |
parents | f73ca04d73a7 |
children |
line wrap: on
line source
/** * */ Ext.define('Lada.model.Deskriptor', { extend: 'Ext.data.Model', /** * Fields are: * - ... */ fields: [{ name: 'bedeutung' }, { name: 'beschreibung' }, { name: 'ebene' }, { name: 'id' }, { name: 'sn' }, { name: 'sXx' }], idProperty: 'id', proxy: { type: 'rest', url: 'lada-server/rest/deskriptor', reader: { type: 'json', root: 'data', totalProperty: 'totalCount' } } });