569
|
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 Status |
|
11 */ |
|
12 Ext.define('Lada.model.Status', { |
|
13 extend: 'Ext.data.Model', |
|
14 |
|
15 fields: [{ |
|
16 name: 'id' |
|
17 }, { |
|
18 name: 'messungsId' |
|
19 }, { |
|
20 name: 'status' |
|
21 }, { |
|
22 name: 'sdatum' |
|
23 }, { |
|
24 name: 'skommentar' |
|
25 }], |
|
26 |
|
27 idProperty: 'id', |
|
28 |
|
29 proxy: { |
|
30 type: 'rest', |
|
31 url: 'lada-server/status', |
|
32 reader: { |
|
33 type: 'json', |
|
34 root: 'data' |
|
35 } |
|
36 } |
|
37 }); |