Mercurial > lada > lada-client
comparison app/model/Messung.js @ 159:f653bd7893c0
Fixed model. Added mapping.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 03 Jul 2013 13:36:07 +0200 |
parents | 8e7f890dd6f4 |
children | 5eb0cfac0e30 |
comparison
equal
deleted
inserted
replaced
158:8e7f890dd6f4 | 159:f653bd7893c0 |
---|---|
1 Ext.define('Lada.model.Messung', { | 1 Ext.define('Lada.model.Messung', { |
2 extend: 'Ext.data.Model', | 2 extend: 'Ext.data.Model', |
3 fields: [ | 3 fields: [ |
4 {name: "probeId"}, | 4 {name: "messungsId", mapping:"id.messungsId"}, |
5 {name: "probeId", mapping:"id.probeId"}, | |
5 {name: "mmtId"}, | 6 {name: "mmtId"}, |
6 {name: "nebenprobenNr"}, | 7 {name: "nebenprobenNr"}, |
7 {name: "messdauer"}, | 8 {name: "messdauer"}, |
8 {name: "messzeitpunkt"}, | 9 {name: "messzeitpunkt"}, |
9 {name: "fertig", type: "boolean"}, | 10 {name: "fertig", type: "boolean"}, |