torsten@235: Ext.define('Lada.model.Query', { torsten@235: extend: 'Ext.data.Model', torsten@235: fields: [ torsten@235: {name: "id"}, torsten@235: {name: "name"}, torsten@235: {name: "description"}, torsten@235: {name: "sql"}, torsten@235: {name: "fields"}, torsten@235: ], torsten@235: proxy: { torsten@235: type: 'memory', torsten@235: reader: { torsten@235: type: 'json' torsten@235: } torsten@235: } torsten@235: });