Files
bamboo/sqlite/model/Setting.js
T
robin 96333ae7a9 up
2022-05-21 06:48:12 +08:00

20 lines
577 B
JavaScript

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: '值'},
}
}