SAMPClient.js 494 Bytes
Ext.define('treps.model.SAMPClient', {
	extend: 'Ext.data.Model',

	fields: [
		{
			name: 'id',
			type: 'string'
		},
		{
			name: 'name',
			type: 'string'
		},
		{
			name: 'description',
			type: 'string'
		},
		{
			name: 'icon',
			type: 'string'
		},
		{
			name: 'acceptVOTable',
			type: 'boolean',
			defaultValue: false
		},
		{
			name: 'acceptCDF',
			type: 'boolean',
			defaultValue: false
		},
		{
			name: 'acceptNetCDF',
			type: 'boolean',
			defaultValue: false
		}
	]
});