raimund@488: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz raimund@488: * Software engineering by Intevation GmbH raimund@488: * raimund@488: * This file is Free Software under the GNU GPL (v>=3) raimund@488: * and comes with ABSOLUTELY NO WARRANTY! Check out raimund@488: * the documentation coming with IMIS-Labordaten-Application for details. raimund@488: */ raimund@488: raimund@488: /** raimund@488: * Model class for Pflichtmessgroesse Stammdaten. raimund@488: */ raimund@488: Ext.define('Lada.model.StaPflichtmessgroesse', { raimund@488: extend: 'Ext.data.Model', raimund@488: raimund@488: /** raimund@488: * Fields are: raimund@488: * - id: The unique identifer (Primary key) raimund@488: * - messgroesseId: raimund@488: * - mmtId: raimund@488: * - umwId: raimund@488: * - datenbasisId: raimund@488: */ raimund@488: fields: [{ raimund@488: name: 'id' raimund@488: }, { raimund@488: name: 'messgroesseId' raimund@488: }, { raimund@488: name: 'mmtId' raimund@488: }, { raimund@488: name: 'umwId' raimund@488: }, { raimund@488: name: 'datenbasisId' raimund@488: }], raimund@488: raimund@488: idProperty: 'id', raimund@488: raimund@488: proxy: { raimund@488: type: 'rest', raimund@488: url: 'server/rest/sta_pflichtmessgroesse', raimund@488: reader: { raimund@488: type: 'json', raimund@488: root: 'data' raimund@488: } raimund@488: } raimund@488: });