comparison app/model/StaStaat.js @ 488:f7446ebfe5d0

Added and updated models.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 21:10:35 +0100
parents
children 850ccfe5f3c4
comparison
equal deleted inserted replaced
487:a05cbc6e63cb 488:f7446ebfe5d0
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 Staat Stammdaten
11 */
12 Ext.define('Lada.model.StaStaat', {
13 extend: 'Lada.model.Base',
14 fields: [
15 {name: "id", type: 'int'},
16 {name: "staat"},
17 {name: "staatIso"},
18 {name: "staatKurz"}
19 ],
20 idProperty: "id",
21 proxy: {
22 type: 'rest',
23 url: 'server/rest/sta_staat',
24 reader: {
25 type: 'json',
26 root: 'data'
27 }
28 }
29 });

http://lada.wald.intevation.org