-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathgrade.js
More file actions
44 lines (44 loc) · 683 Bytes
/
grade.js
File metadata and controls
44 lines (44 loc) · 683 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
module.exports = {
db: 'mongo',
conn: 'mongo1',
name: 'grade',
create: false,
update: false,
delete: 0,
import: false,
export: false,
multiSelect: false,
cols: {
_id: {
label: 'ID',
auto: 'pk',
hide: true,
add: 'hide',
edit: 'readonly'
},
personId: {
label: 'Person ID',
add: 'readonly',
edit: 'readonly'
},
subject: {
label: 'Subject',
type: 'string',
ui: {
tag: 'input'
},
},
grade: {
label: 'Grade',
type: 'string',
ui: {
tag: 'input'
},
},
},
pk: '',
multiKey: [],
required: [],
auto: [],
nonAuto: []
}