Mercurial > lada > lada-client
comparison app/model/StatusKombi.js @ 1217:4270da0f7d3b
Merged branch schema-update into default.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 14 Oct 2016 18:34:19 +0200 |
parents | |
children | 5b5d9d7a771a |
comparison
equal
deleted
inserted
replaced
1216:75e5caebd392 | 1217:4270da0f7d3b |
---|---|
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 |