view app/model/Staat.js @ 396:a7e9664091f4

Added tag 0.4 for changeset bcc7546c6366
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 30 Aug 2013 13:05:16 +0200
parents e1364948eb01
children debfcc7713e3
line wrap: on
line source
/**
 * Model class for Staat
 */
Ext.define('Lada.model.Staat', {
    extend: 'Lada.model.Base',
    fields: [
        {name: "staatId", type: 'int'},
        {name: "staat"},
        {name: "staatIso"},
        {name: "staatKurz"}
    ],
    idProperty: "staatId",
    proxy: {
        type: 'rest',
        appendId: true, //default
        url: 'server/rest/staat',
        api: {
        },
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

http://lada.wald.intevation.org