comparison app/model/StaOrt.js @ 491:850ccfe5f3c4

Code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 23:23:32 +0100
parents f7446ebfe5d0
children
comparison
equal deleted inserted replaced
490:446e99cfd425 491:850ccfe5f3c4
9 /** 9 /**
10 * Model class for Ort Stammdaten 10 * Model class for Ort Stammdaten
11 */ 11 */
12 Ext.define('Lada.model.StaOrt', { 12 Ext.define('Lada.model.StaOrt', {
13 extend: 'Lada.model.Base', 13 extend: 'Lada.model.Base',
14 fields: [ 14
15 {name: "id"}, 15 fields: [{
16 {name: "bezeichnung"}, 16 name: "id"
17 {name: "beschreibung"}, 17 }, {
18 {name: "unscharf"}, 18 name: "bezeichnung"
19 {name: "nutsCode"}, 19 }, {
20 {name: "koordXExtern"}, 20 name: "beschreibung"
21 {name: "koordYExtern"}, 21 }, {
22 {name: "hoeheLand"}, 22 name: "unscharf"
23 {name: "letzteAenderung", type: 'date', convert: Lada.lib.Helpers.ts2date, defaultValue: new Date()}, 23 }, {
24 {name: "longitude", type: 'float'}, 24 name: "nutsCode"
25 {name: "latitude", type: 'float'}, 25 }, {
26 {name: "staatId"}, 26 name: "koordXExtern"
27 {name: "gemId"}, 27 }, {
28 {name: "otyp"} 28 name: "koordYExtern"
29 ], 29 }, {
30 name: "hoeheLand"
31 }, {
32 name: "letzteAenderung",
33 type: 'date',
34 convert: Lada.lib.Helpers.ts2date,
35 defaultValue: new Date()
36 }, {
37 name: "longitude",
38 type: 'float'
39 }, {
40 name: "latitude",
41 type: 'float'
42 }, {
43 name: "staatId"
44 }, {
45 name: "gemId"
46 }, {
47 name: "otyp"
48 }],
49
30 idProperty: "id", 50 idProperty: "id",
51
31 proxy: { 52 proxy: {
32 type: 'rest', 53 type: 'rest',
33 url: 'server/rest/sta_ort', 54 url: 'server/rest/sta_ort',
34 reader: { 55 reader: {
35 type: 'json', 56 type: 'json',

http://lada.wald.intevation.org