审查视图

pkg/domain/staff_desc.go 526 字节
1 2 3 4 5 6 7 8 9 10 11 12 13 14
package domain

//员工基本信息描述
type StaffDesc struct {
	UserId   int    `json:"userId"`   //用户id
	Account  string `json:"account"`  //用户的账号
	UserName string `json:"userName"` //用户的名称
}

//员工的部门
type StaffDepartment struct {
	DepartmentId   int    `json:"departmentId"`   //部门id
	DepartmentName string `json:"departmentName"` //部门名称
}
Your Name authored
15 16 17 18 19

type StaffPosition struct {
	PositionId   int    `json:"positionId"`
	PositionName string `json:"positionName"`
}