annotate app/model/Status.js @ 584:8ed6c3fb8bda

Fixed indention and constructor call.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 11 Mar 2015 13:12:44 +0100
parents d9593b520b3b
children 9b3adfb7b1ae
rev   line source
569
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
2 * Software engineering by Intevation GmbH
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
3 *
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
4 * This file is Free Software under the GNU GPL (v>=3)
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
6 * the documentation coming with IMIS-Labordaten-Application for details.
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
7 */
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
8
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
9 /**
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
10 * Model class for Status
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
11 */
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
12 Ext.define('Lada.model.Status', {
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
13 extend: 'Ext.data.Model',
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
14
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
15 fields: [{
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
16 name: 'id'
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
17 }, {
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
18 name: 'messungsId'
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
19 }, {
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
20 name: 'status'
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
21 }, {
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
22 name: 'sdatum'
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
23 }, {
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
24 name: 'skommentar'
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
25 }],
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
26
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
27 idProperty: 'id',
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
28
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
29 proxy: {
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
30 type: 'rest',
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
31 url: 'lada-server/status',
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
32 reader: {
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
33 type: 'json',
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
34 root: 'data'
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
35 }
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
36 }
d9593b520b3b Added a model for Status
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
37 });

http://lada.wald.intevation.org