comparison app/model/StaPflichtmessgroesse.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 class for Pflichtmessgroesse Stammdaten.
11 */
12 Ext.define('Lada.model.StaPflichtmessgroesse', {
13 extend: 'Ext.data.Model',
14
15 /**
16 * Fields are:
17 * - id: The unique identifer (Primary key)
18 * - messgroesseId:
19 * - mmtId:
20 * - umwId:
21 * - datenbasisId:
22 */
23 fields: [{
24 name: 'id'
25 }, {
26 name: 'messgroesseId'
27 }, {
28 name: 'mmtId'
29 }, {
30 name: 'umwId'
31 }, {
32 name: 'datenbasisId'
33 }],
34
35 idProperty: 'id',
36
37 proxy: {
38 type: 'rest',
39 url: 'server/rest/sta_pflichtmessgroesse',
40 reader: {
41 type: 'json',
42 root: 'data'
43 }
44 }
45 });

http://lada.wald.intevation.org