view app/model/Messung.js @ 160:c932b0b41d2a

Reenabled Messungen in ProbenEdit.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 03 Jul 2013 13:36:30 +0200
parents f653bd7893c0
children 5eb0cfac0e30
line wrap: on
line source
Ext.define('Lada.model.Messung', {
    extend: 'Ext.data.Model',
        fields: [
        {name: "messungsId", mapping:"id.messungsId"},
        {name: "probeId", mapping:"id.probeId"},
        {name: "mmtId"},
        {name: "nebenprobenNr"},
        {name: "messdauer"},
        {name: "messzeitpunkt"},
        {name: "fertig", type: "boolean"},
        {name: "letzteAenderung", type:"date"},
        {name: "geplant", type: "boolean"}
    ],
    idProperty: "convertedId",
    proxy: {
        type: 'rest',
        appendId: true, //default
        url: 'server/rest/messung',
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

http://lada.wald.intevation.org