|
@@ -2,12 +2,12 @@ package protocol |
|
@@ -2,12 +2,12 @@ package protocol |
2
|
|
2
|
|
3
|
//ProviderData 成果提供者
|
3
|
//ProviderData 成果提供者
|
4
|
type AchievementProvider struct {
|
4
|
type AchievementProvider struct {
|
5
|
- UserDepartmentId int64 `json:"user_department_id"` //前端需要的唯一id标识,使用user_department表的id
|
|
|
6
|
- UserCompanyId int64 `json:"user_company_id"` //用户的id
|
|
|
7
|
- UserName string `json:"user_name"`
|
|
|
8
|
- DepartmentId int64 `json:"department_id"` //部门id
|
|
|
9
|
- DepartmentName string `json:"department_name"`
|
|
|
10
|
- UserGraspScore float64 `json:"user_grasp_score"` //把握人得分
|
5
|
+ UserDepartmentId int64 `json:"user_department_id" orm:"-"` //前端需要的唯一id标识,使用user_department表的id
|
|
|
6
|
+ UserCompanyId int64 `json:"user_company_id" orm:"column(user_company_id)"` //用户的id
|
|
|
7
|
+ NickName string `json:"nick_name" orm:"column(nick_name)"`
|
|
|
8
|
+ DepartmentId int64 `json:"department_id" orm:"column(department_id)" ` //部门id
|
|
|
9
|
+ DepartmentName string `json:"department_name" orm:"column(department_name)"`
|
|
|
10
|
+ UserGraspScore float64 `json:"user_grasp_score" orm:"column(user_grasp_score)"` //把握人得分
|
11
|
}
|
11
|
}
|
12
|
|
12
|
|
13
|
//AchievementChance 成果的机会列表
|
13
|
//AchievementChance 成果的机会列表
|