// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package model import ( "dashoo.cn/micro/app/model/internal" ) // SysUser is the golang structure for table sys_user. type SysUser internal.SysUser // Fill with you ideas below. // LoginUserRes 登录返回 type LoginUserRes struct { Id uint64 `orm:"id,primary" json:"id"` // UserName string `orm:"user_name,unique" json:"userName"` // 用户名 UserNickname string `orm:"user_nickname" json:"userNickname"` // 用户昵称 UserStatus uint `orm:"user_status" json:"userStatus"` // 用户状态;0:禁用,1:正常,2:未验证 IsAdmin int `orm:"is_admin" json:"isAdmin"` // 是否后台管理员 1 是 0 否 Avatar string `orm:"avatar" json:"avatar"` //头像 DeptId uint64 `orm:"dept_id" json:"deptId"` //部门id }