comparison app/model/StatusWerte.js @ 946:71e2acb1cdd6

added StatusWerte Model
author Dustin Demuth <dustin@intevation.de>
date Tue, 27 Oct 2015 16:52:30 +0100
parents
children 45c67a784b31
comparison
equal deleted inserted replaced
945:023e622f9551 946:71e2acb1cdd6
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU GPL (v>=3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
6 * the documentation coming with IMIS-Labordaten-Application for details.
7 */
8
9 /**
10 * Model class for StatusWerte
11 */
12 Ext.define('Lada.model.StatusWerte', {
13 extend: 'Ext.data.Model',
14
15 fields: [{
16 name: 'id'
17 }, {
18 name: 'wert'
19 }],
20
21 idProperty: 'id',
22
23 proxy: {
24 type: 'rest',
25 url: 'lada-server/statuswert',
26 reader: {
27 type: 'json',
28 root: 'data'
29 }
30 }
31
32 });

http://lada.wald.intevation.org