covid19-dashboard
Version:
Dashboard App displaying COVID-19 numbers by country
41 lines (38 loc) • 918 B
JavaScript
import Model from '../../../node_modules/neo.mjs/src/data/Model.mjs';
/**
* @class Docs.app.model.Tutorial
* @extends Neo.data.Model
*/
class Tutorial extends Model {
static getConfig() {return {
/**
* @member {String} className='Docs.app.model.Tutorial'
* @protected
*/
className: 'Docs.app.model.Tutorial',
/**
* @member {Object[]} fields
*/
fields: [{
name: 'fileName',
type: 'String'
}, {
name: 'id',
type: 'Integer'
}, {
name: 'isLeaf',
type: 'Boolean'
}, {
name: 'name',
type: 'String'
}, {
name: 'parentId',
type: 'Integer'
}, {
name: 'type',
type: 'String'
}]
}}
}
Neo.applyClassConfig(Tutorial);
export {Tutorial as default};