数据库插件
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
module.exports = {
|
||||
doc : "用户",
|
||||
api : true,//是否需要生成api接口
|
||||
model: {
|
||||
uid: {type: "STRING", comment: '用户id'},
|
||||
age: {type: "INTEGER", comment: '年龄', defaultValue: 0,},
|
||||
}
|
||||
doc: "用户",
|
||||
api: true,//是否需要生成api接口
|
||||
model: {
|
||||
uid: {type: "STRING", comment: '用户id'},
|
||||
age: {type: "INTEGER", comment: '年龄', defaultValue: 0},
|
||||
age2: {type: "INTEGER", comment: '年龄', defaultValue: 0},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user