git_sitools_idoc / flarecast / workspace / client-user-3.0 / app / model / TaskModel.js @ master
1 | d2a8c3fd | Marc NICOLAS | /*******************************************************************************
|
---|---|---|---|
2 | * Copyright 2010-2014 CNES - CENTRE NATIONAL d'ETUDES SPATIALES
|
||
3 | *
|
||
4 | * This file is part of SITools2.
|
||
5 | *
|
||
6 | * SITools2 is free software: you can redistribute it and/or modify it under the
|
||
7 | * terms of the GNU General Public License as published by the Free Software
|
||
8 | * Foundation, either version 3 of the License, or (at your option) any later
|
||
9 | * version.
|
||
10 | *
|
||
11 | * SITools2 is distributed in the hope that it will be useful, but WITHOUT ANY
|
||
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||
13 | * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||
14 | *
|
||
15 | * You should have received a copy of the GNU General Public License along with
|
||
16 | * SITools2. If not, see <http://www.gnu.org/licenses/>.
|
||
17 | ******************************************************************************/
|
||
18 | /* global Ext, sitools, window */
|
||
19 | |||
20 | Ext.define('sitools.user.model.TaskModel', {
|
||
21 | extend : 'Ext.data.Model', |
||
22 | |||
23 | fields : [ {
|
||
24 | name : 'id', |
||
25 | type : 'string' |
||
26 | }, { |
||
27 | name : 'status', |
||
28 | type : 'string' |
||
29 | }, { |
||
30 | name : 'modelId', |
||
31 | type : 'string' |
||
32 | }, { |
||
33 | name : 'customStatus', |
||
34 | type : 'string' |
||
35 | }, { |
||
36 | name : 'timestamp', |
||
37 | type : 'string' |
||
38 | }, { |
||
39 | name : 'statusUrl', |
||
40 | type : 'string' |
||
41 | }, { |
||
42 | name : 'urlResult', |
||
43 | type : 'string' |
||
44 | }, { |
||
45 | name : 'userId', |
||
46 | type : 'string' |
||
47 | }, { |
||
48 | name : 'startDate', |
||
49 | type : 'string' |
||
50 | }, { |
||
51 | name : 'endDate', |
||
52 | type : 'string' |
||
53 | }, { |
||
54 | name : 'runType', |
||
55 | type : 'string' |
||
56 | }, { |
||
57 | name : 'modelName', |
||
58 | type : 'string' |
||
59 | }] |
||
60 | |||
61 | }); |