Mercurial > lada > lada-client
annotate app/model/OrtszuordnungTyp.js @ 1424:44d28e46cc4b
Use latest server version.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 06 Apr 2017 12:13:45 +0200 |
parents | d2f06ce4d43a |
children |
rev | line source |
---|---|
1338
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
2 * Software engineering by Intevation GmbH |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
3 * |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
4 * This file is Free Software under the GNU GPL (v>=3) |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
5 * and comes with ABSOLUTELY NO WARRANTY! Check out |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
6 * the documentation coming with IMIS-Labordaten-Application for details. |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
7 */ |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
8 |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
9 /** |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
10 * Model for OrtsZusatz Stammdaten. |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
11 */ |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
12 Ext.define('Lada.model.OrtszuordnungTyp', { |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
13 extend: 'Ext.data.Model', |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
14 |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
15 /** |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
16 * Fields are: |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
17 * - id: The unique identifier (Primary key). |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
18 * - ortstyp: The long description. |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
19 */ |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
20 fields: [{ |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
21 name: 'id' |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
22 }, { |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
23 name: 'ortstyp' |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
24 }], |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
25 |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
26 idProperty: 'id', |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
27 |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
28 proxy: { |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
29 type: 'rest', |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
30 url: 'lada-server/rest/ortszuordnungtyp', |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
31 reader: { |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
32 type: 'json', |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
33 root: 'data' |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
34 } |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
35 } |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
36 }); |