Mercurial > lada > lada-client
comparison app/model/Probe.js @ 692:c31644b3d445
added owner-field
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 26 Mar 2015 14:13:47 +0100 |
parents | c07419f07a0c |
children | 9635f4e60b13 |
comparison
equal
deleted
inserted
replaced
690:e88381fb3bdb | 692:c31644b3d445 |
---|---|
13 Ext.define('Lada.model.Probe', { | 13 Ext.define('Lada.model.Probe', { |
14 extend: 'Ext.data.Model', | 14 extend: 'Ext.data.Model', |
15 | 15 |
16 fields: [{ | 16 fields: [{ |
17 name: 'id' | 17 name: 'id' |
18 }, { | |
19 name: 'owner', | |
20 type: 'boolean', | |
21 persist: false | |
18 }, { | 22 }, { |
19 name: 'probeIdAlt' | 23 name: 'probeIdAlt' |
20 }, { | 24 }, { |
21 name: 'hauptprobenNr' | 25 name: 'hauptprobenNr' |
22 }, { | 26 }, { |
111 return new Date(v); | 115 return new Date(v); |
112 }, | 116 }, |
113 defaultValue: new Date() | 117 defaultValue: new Date() |
114 }, { | 118 }, { |
115 name: 'readonly', | 119 name: 'readonly', |
116 type: 'bool', | 120 type: 'boolean', |
117 persist: false | 121 persist: false |
118 }, { | 122 }, { |
119 name: 'treeModified' | 123 name: 'treeModified' |
120 }], | 124 }], |
121 | 125 |