Mercurial > lada > lada-client
comparison app/model/StatusKombi.js @ 1185:90ae675a1224 schema-update
Updated client status workflow and model.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 31 Aug 2016 15:58:49 +0200 |
parents | |
children | 5b5d9d7a771a |
comparison
equal
deleted
inserted
replaced
1184:be720d0473f6 | 1185:90ae675a1224 |
---|---|
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 StatusKombi | |
11 */ | |
12 Ext.define('Lada.model.StatusKombi', { | |
13 extend: 'Ext.data.Model', | |
14 | |
15 fields: [{ | |
16 name: 'id' | |
17 }, { | |
18 name: 'stufeId', | |
19 type: 'int' | |
20 }, { | |
21 name: 'stufeId', | |
22 type: 'int' | |
23 }], | |
24 | |
25 idProperty: 'id', | |
26 | |
27 proxy: { | |
28 type: 'rest', | |
29 url: 'lada-server/rest/statuskombi', | |
30 reader: { | |
31 type: 'json', | |
32 root: 'data' | |
33 } | |
34 } | |
35 }); | |
36 |