Mercurial > lada > lada-client
comparison app/model/Probenzusatz.js @ 548:d47ee7439f44
Added new js files.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 06 Mar 2015 12:43:52 +0100 |
parents | |
children | c5b8896768a2 |
comparison
equal
deleted
inserted
replaced
547:f172b35a3b92 | 548:d47ee7439f44 |
---|---|
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 Probenzusatz Stammdaten. | |
11 */ | |
12 Ext.define('Lada.model.Probenzusatz', { | |
13 extend: 'Ext.data.Model', | |
14 | |
15 /** | |
16 * Fields are: | |
17 * - id: The unique identifer (Primary key) | |
18 * - beschreibung: The long description. | |
19 * - mehId: | |
20 * - zusatzwert: | |
21 * - eudfKeyword: | |
22 */ | |
23 fields: [{ | |
24 name: 'id' | |
25 }, { | |
26 name: 'beschreibung' | |
27 }, { | |
28 name: 'mehId', | |
29 type: 'int' | |
30 }, { | |
31 name: 'zusatzwert' | |
32 }, { | |
33 name: 'eudfKeyword' | |
34 }], | |
35 | |
36 idProperty: 'id', | |
37 | |
38 proxy: { | |
39 type: 'rest', | |
40 url: 'lada-server/probenzusatz', | |
41 reader: { | |
42 type: 'json', | |
43 root: 'data' | |
44 } | |
45 } | |
46 }); |