tom@1217: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz tom@1217: * Software engineering by Intevation GmbH tom@1217: * tom@1217: * This file is Free Software under the GNU GPL (v>=3) tom@1217: * and comes with ABSOLUTELY NO WARRANTY! Check out tom@1217: * the documentation coming with IMIS-Labordaten-Application for details. tom@1217: */ tom@1217: tom@1217: /** tom@1217: * Model class for StatusKombi tom@1217: */ tom@1217: Ext.define('Lada.model.StatusKombi', { tom@1217: extend: 'Ext.data.Model', tom@1217: tom@1217: fields: [{ tom@1217: name: 'id' tom@1217: }, { tom@1224: name: 'statusStufe', tom@1224: type: 'object' tom@1217: }, { tom@1224: name: 'statusWert', tom@1224: type: 'object' tom@1217: }], tom@1217: tom@1217: idProperty: 'id', tom@1217: tom@1217: proxy: { tom@1217: type: 'rest', tom@1217: url: 'lada-server/rest/statuskombi', tom@1217: reader: { tom@1217: type: 'json', tom@1217: root: 'data' tom@1217: } tom@1217: } tom@1217: }); tom@1217: