Mercurial > lada > lada-client
view app/model/Deskriptor.js @ 1414:6f9985b4cf47
Added tag 2.6 for changeset fc0ec9cde3aa
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 27 Mar 2017 17:08:13 +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' } } });