comparison app/model/Probenzusatzwert.js @ 488:f7446ebfe5d0

Added and updated models.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 21:10:35 +0100
parents debfcc7713e3
children 850ccfe5f3c4
comparison
equal deleted inserted replaced
487:a05cbc6e63cb 488:f7446ebfe5d0
10 * Model class for Probenzusatzwert 10 * Model class for Probenzusatzwert
11 */ 11 */
12 Ext.define('Lada.model.Probenzusatzwert', { 12 Ext.define('Lada.model.Probenzusatzwert', {
13 extend: 'Lada.model.Base', 13 extend: 'Lada.model.Base',
14 fields: [ 14 fields: [
15 {name: "pzsId"}, 15 {name: "id"},
16 {name: "mehId"}, 16 {name: "mehId"},
17 {name: "beschreibung"}, 17 {name: "beschreibung"},
18 {name: "zusatzwert"}, 18 {name: "zusatzwert"},
19 {name: "eudfKeyword"} 19 {name: "eudfKeyword"}
20 ], 20 ],
21 idProperty: "pzsId", 21 idProperty: "id",
22 proxy: { 22 proxy: {
23 type: 'rest', 23 type: 'rest',
24 appendId: true, //default 24 url: 'server/rest/sta_probenzusatz',
25 url: 'server/rest/probenzusatz',
26 autoload: true, 25 autoload: true,
27 reader: { 26 reader: {
28 type: 'json', 27 type: 'json',
29 root: 'data' 28 root: 'data'
30 } 29 }

http://lada.wald.intevation.org