Files
bamboo/app/permission/model/UserInfo.js
T
2022-08-02 19:21:03 +08:00

23 lines
810 B
JavaScript

module.exports = {
doc: "用户资料表",
api: true,//是否需要生成api接口
model: {
uid: {type: "INTEGER", comment: '用户id'},
to_oid: {type: "INTEGER", comment: '所属组织id'},
to_rid: {type: "INTEGER", 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: "INTEGER", comment: '年龄'},
sex: {type: "STRING", comment: '性别'},
province: {type: "STRING", comment: '省份'},
city: {type: "STRING", comment: '城市'},
area: {type: "STRING", comment: '地区'},
address: {type: "STRING", comment: '详细地址'},
},
}