Mercurial > lada > lada-client
comparison app/model/Messwert.js @ 328:f56e6ee526a2
Inherit form model.base. Formatting
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 13 Aug 2013 08:54:24 +0200 |
parents | 3159cbc85652 |
children | 60763d913203 |
comparison
equal
deleted
inserted
replaced
327:63eae13768f3 | 328:f56e6ee526a2 |
---|---|
1 /** | 1 /** |
2 * Model class for Messwerte | 2 * Model class for Messwerte |
3 */ | 3 */ |
4 Ext.define('Lada.model.Messwert', { | 4 Ext.define('Lada.model.Messwert', { |
5 extend: 'Ext.data.Model', | 5 extend: 'Lada.model.Base', |
6 requires: ['Lada.lib.Helpers'], | 6 fields: [ |
7 fields: [ | |
8 {name: "id"}, | 7 {name: "id"}, |
9 {name: "messungsId", mapping:"id.messungsId"}, | 8 {name: "messungsId", mapping:"id.messungsId"}, |
10 {name: "probeId", mapping:"id.probeId"}, | 9 {name: "probeId", mapping:"id.probeId"}, |
11 {name: "messgroesseId", mapping:"id.messgroesseId"}, | 10 {name: "messgroesseId", mapping:"id.messgroesseId"}, |
12 {name: "messwert", type:"float"}, | 11 {name: "messwert", type:"float"}, |