comparison app/model/StaMessstelle.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
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 for Messstelle Stammdaten.
11 */
12 Ext.define('Lada.model.StaMessstelle', {
13 extend: 'Ext.data.Model',
14
15 /**
16 * Fields are:
17 * - id: The unique identifier (Primary key).
18 * - beschreibung: The long description.
19 * - netzbetreiberId:
20 * - messStelle:
21 * - mstTyp:
22 * - amtskennung:
23 */
24 fields: [{
25 name: 'id'
26 }, {
27 name: 'beschreibung'
28 }, {
29 name: 'netzbetreiberId'
30 }, {
31 name: 'messStelle'
32 }, {
33 name: 'mstTyp'
34 }, {
35 name: 'amtskennung'
36 }],
37
38 idProperty: 'id',
39
40 proxy: {
41 type: 'rest',
42 url: 'server/rest/sta_messstelle',
43 reader: {
44 type: 'json',
45 root: 'data'
46 }
47 }
48 });
49

http://lada.wald.intevation.org