You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.2 KiB
29 lines
1.2 KiB
package models
|
|
|
|
//个人信息
|
|
type MyInfo struct {
|
|
Numbers string `json:"numbers" bson:"numbers"` //员工编号
|
|
Name string `json:"name" bson:"name"` //员工姓名
|
|
Group string `json:"group" bson:"group"` //集团
|
|
Department string `json:"department" bson:"department"` //分厂部室
|
|
WorkPost string `json:"workpost" bson:"workpost"` //工作岗位
|
|
Position string `json:"position" bson:"position"` //职务
|
|
WorkTeam string `json:"workteam bson:"workteam"` //班组
|
|
WatchKey string `json:"watchkey bson:"watchkey"` //微信或企业微信识别符
|
|
IconUrl string `json:"iconurl" bson:"iconurl"` //头像
|
|
IconSmailUrl string `json:"iconsmailurl" bson:"iconsmailurl"` //缩略图
|
|
}
|
|
|
|
//初始化设置
|
|
func (m *MyInfo) InitMyInfo() {
|
|
m.Numbers = "" //员工编号
|
|
m.Name = "" //员工姓名
|
|
m.Group = "" //集团
|
|
m.Department = "" //分厂部室
|
|
m.WorkPost = "" //工作岗位
|
|
m.Position = "" //职务
|
|
m.WorkTeam = "" //班组
|
|
m.WatchKey = "" //微信或企业微信识别符
|
|
m.IconUrl = "" //头像
|
|
m.IconSmailUrl = "" //缩略图
|
|
}
|
|
|