946
|
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 }); |