Mercurial > lada > lada-client
view app/model/Status.js @ 580:fe074c2250b4
added MessungGrid Controller
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Tue, 10 Mar 2015 15:59:53 +0100 |
parents | d9593b520b3b |
children | 9b3adfb7b1ae |
line wrap: on
line source
/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz * Software engineering by Intevation GmbH * * This file is Free Software under the GNU GPL (v>=3) * and comes with ABSOLUTELY NO WARRANTY! Check out * the documentation coming with IMIS-Labordaten-Application for details. */ /** * Model class for Status */ Ext.define('Lada.model.Status', { extend: 'Ext.data.Model', fields: [{ name: 'id' }, { name: 'messungsId' }, { name: 'status' }, { name: 'sdatum' }, { name: 'skommentar' }], idProperty: 'id', proxy: { type: 'rest', url: 'lada-server/status', reader: { type: 'json', root: 'data' } } });