Mercurial > lada > lada-client
annotate app/model/MessstelleLabor.js @ 1349:c05a5534f0d9
anlageId can be null.
Rendering of a grid entry failed if this was the case.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 07 Feb 2017 12:48:20 +0100 |
parents | d198946e5540 |
children |
rev | line source |
---|---|
1066
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
2 * Software engineering by Intevation GmbH |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
3 * |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
4 * This file is Free Software under the GNU GPL (v>=3) |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
5 * and comes with ABSOLUTELY NO WARRANTY! Check out |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
6 * the documentation coming with IMIS-Labordaten-Application for details. |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
7 */ |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
8 |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
9 /** |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
10 * Model for Messstelle Stammdaten. |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
11 */ |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
12 Ext.define('Lada.model.MessstelleLabor', { |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
13 extend: 'Ext.data.Model', |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
14 |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
15 /** |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
16 * Fields are: |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
17 * - id: The unique identifier (Primary key). |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
18 * - messStelle |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
19 * - laborMst |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
20 */ |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
21 fields: [{ |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
22 name: 'id' |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
23 }, { |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
24 name: 'messStelle' |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
25 }, { |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
26 name: 'laborMst' |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
27 }, { |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
28 name: 'netzbetreiberId' |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
29 }, { |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
30 name: 'displayCombi' |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
31 }] |
d198946e5540
Introduced laborMstId as new probe field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
32 }); |