up
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
module.exports = {
|
||||
doc : "系统设置",
|
||||
model: {
|
||||
title: {type: "STRING", comment: '字段标题'},
|
||||
doc : {type: "TEXT", comment: '字段说明'},
|
||||
type : {
|
||||
type : "ENUM", comment: '字段类型',
|
||||
values: [
|
||||
'int', // 整数
|
||||
'string', //字符串
|
||||
'json', // json
|
||||
'rich' // 富文本
|
||||
],
|
||||
defaultValue: 'string',
|
||||
},
|
||||
code : {type: "STRING", comment: '字段code'},
|
||||
value: {type: "TEXT", comment: '值'},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user