21 lines
696 B
JavaScript
21 lines
696 B
JavaScript
module.exports = {
|
|
doc: "用户资料表",
|
|
api: true,//是否需要生成api接口
|
|
model: {
|
|
uid: {type: "STRING", comment: '用户id'},
|
|
account: {type: "STRING", comment: '用户账号'},
|
|
name: {type: "STRING", comment: '名称'},
|
|
avatar: {type: "STRING", comment: '头像'},
|
|
wechat_openid: {type: "STRING", comment: '微信openid'},
|
|
phone_number: {type: "STRING", comment: '手机号'},
|
|
age: {type: "STRING", comment: '年龄'},
|
|
sex: {type: "STRING", comment: '性别'},
|
|
province: {type: "STRING", comment: '省份'},
|
|
city: {type: "STRING", comment: '城市'},
|
|
area: {type: "STRING", comment: '地区'},
|
|
address: {type: "STRING", comment: '详细地址'},
|
|
},
|
|
}
|
|
|
|
|