comparison app/model/StaNetzbetreiber.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 Netzbetreiber Stammdaten.
11 */
12 Ext.define('Lada.model.StaNetzbetreiber', {
13 extend: 'Ext.data.Model',
14
15 /**
16 * Fields are:
17 * - id: The unique identifier (Primary key).
18 * - netzbetreiber:
19 * - idfNetzbetreiber:
20 * - isBmn:
21 * - mailverteiler:
22 * - aktiv:
23 * - zustMstId:
24 */
25 fields: [{
26 name: 'id'
27 }, {
28 name: 'netzbetreiber'
29 }, {
30 name: 'idfNetzbetreiber'
31 }, {
32 name: 'isBmn'
33 }, {
34 name: 'mailverteiler'
35 }, {
36 name: 'aktiv'
37 }, {
38 name: 'zustMstId'
39 }],
40
41 idProperty: 'id',
42
43 proxy: {
44 type: 'rest',
45 url: 'server/rest/sta_netzbetreiber',
46 reader: {
47 type: 'json',
48 root: 'data'
49 }
50 }
51 });
52

http://lada.wald.intevation.org