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"` //部门名称 } type StaffPosition struct { PositionId int `json:"positionId"` PositionName string `json:"positionName"` }