|
@@ -14,11 +14,11 @@ type CooperationContract struct { |
|
@@ -14,11 +14,11 @@ type CooperationContract struct { |
14
|
CooperationProjectNumber string `json:"cooperationProjectNumber"`
|
14
|
CooperationProjectNumber string `json:"cooperationProjectNumber"`
|
15
|
CooperationContractUndertakerTypes []int `json:"cooperationContractUndertakerType"` // 共创合约承接对象,1员工,2共创用户,3公开
|
15
|
CooperationContractUndertakerTypes []int `json:"cooperationContractUndertakerType"` // 共创合约承接对象,1员工,2共创用户,3公开
|
16
|
Department struct {
|
16
|
Department struct {
|
17
|
- DepartmentId int `json:"departmentId"`
|
17
|
+ DepartmentId int `json:"departmentId,string"`
|
18
|
DepartmentName string `json:"departmentName"`
|
18
|
DepartmentName string `json:"departmentName"`
|
19
|
} `jsopn:"department" json:"department"` //发起部门
|
19
|
} `jsopn:"department" json:"department"` //发起部门
|
20
|
CooperationContractSponsor struct {
|
20
|
CooperationContractSponsor struct {
|
21
|
- UserId int `json:"userId"` //id
|
21
|
+ UserId int `json:"userId,string"` //id
|
22
|
UserInfo struct {
|
22
|
UserInfo struct {
|
23
|
UserAvatar string `json:"userAvatar"` // 用户头像
|
23
|
UserAvatar string `json:"userAvatar"` // 用户头像
|
24
|
UserEmail string `json:"userEmail"` // 用户邮箱
|
24
|
UserEmail string `json:"userEmail"` // 用户邮箱
|
|
@@ -75,7 +75,7 @@ type CooperationContract struct { |
|
@@ -75,7 +75,7 @@ type CooperationContract struct { |
75
|
UserName string `json:"userName"`
|
75
|
UserName string `json:"userName"`
|
76
|
UserPhone string `json:"userPhone"`
|
76
|
UserPhone string `json:"userPhone"`
|
77
|
Referrer struct {
|
77
|
Referrer struct {
|
78
|
- UserId int `json:"userId"`
|
78
|
+ UserId int `json:"userId,string"`
|
79
|
UserInfo struct {
|
79
|
UserInfo struct {
|
80
|
UserAvatar string `json:"userAvatar"` // 用户头像
|
80
|
UserAvatar string `json:"userAvatar"` // 用户头像
|
81
|
UserEmail string `json:"userEmail"` // 用户邮箱
|
81
|
UserEmail string `json:"userEmail"` // 用户邮箱
|
|
@@ -85,7 +85,7 @@ type CooperationContract struct { |
|
@@ -85,7 +85,7 @@ type CooperationContract struct { |
85
|
} `json:"userInfo"`
|
85
|
} `json:"userInfo"`
|
86
|
} `json:"referrer"`
|
86
|
} `json:"referrer"`
|
87
|
Salesman struct {
|
87
|
Salesman struct {
|
88
|
- UserId int `json:"userId"`
|
88
|
+ UserId int `json:"userId,string"`
|
89
|
UserInfo struct {
|
89
|
UserInfo struct {
|
90
|
UserAvatar string `json:"userAvatar"` // 用户头像
|
90
|
UserAvatar string `json:"userAvatar"` // 用户头像
|
91
|
UserEmail string `json:"userEmail"` // 用户邮箱
|
91
|
UserEmail string `json:"userEmail"` // 用户邮箱
|
|
@@ -120,12 +120,12 @@ type CooperationContract struct { |
|
@@ -120,12 +120,12 @@ type CooperationContract struct { |
120
|
type (
|
120
|
type (
|
121
|
//分红激励规则
|
121
|
//分红激励规则
|
122
|
DividendsIncentivesRule struct {
|
122
|
DividendsIncentivesRule struct {
|
123
|
- DividendsIncentivesRuleId int `json:"dividendsIncentivesRuleId"`
|
123
|
+ DividendsIncentivesRuleId int `json:"dividendsIncentivesRuleId,string"`
|
124
|
CooperationContractNumber string `json:"cooperationContractNumber"` // 关联的项目合约编号
|
124
|
CooperationContractNumber string `json:"cooperationContractNumber"` // 关联的项目合约编号
|
125
|
ReferrerPercentage float64 `json:"referrerPercentage"` // 推荐人抽成比例
|
125
|
ReferrerPercentage float64 `json:"referrerPercentage"` // 推荐人抽成比例
|
126
|
SalesmanPercentage float64 `json:"salesmanPercentage"` // 业务员抽成比例
|
126
|
SalesmanPercentage float64 `json:"salesmanPercentage"` // 业务员抽成比例
|
127
|
DividendsIncentivesPercentage float64 `json:"dividendsIncentivesPercentage"` // 分红规则激励百分点
|
127
|
DividendsIncentivesPercentage float64 `json:"dividendsIncentivesPercentage"` // 分红规则激励百分点
|
128
|
- DividendsIncentivesStage int64 `json:"dividendsIncentivesStage,string,"` // 分红规则激励阶段,
|
128
|
+ DividendsIncentivesStage int `json:"dividendsIncentivesStage"` // 分红规则激励阶段,
|
129
|
DividendsIncentivesStageEnd time.Time `json:"dividendsIncentivesStageEnd"` // 分红规则激励阶段结束
|
129
|
DividendsIncentivesStageEnd time.Time `json:"dividendsIncentivesStageEnd"` // 分红规则激励阶段结束
|
130
|
DividendsIncentivesStageStart time.Time `json:"dividendsIncentivesStageStart"` // 分红规则激励阶段开始
|
130
|
DividendsIncentivesStageStart time.Time `json:"dividendsIncentivesStageStart"` // 分红规则激励阶段开始
|
131
|
}
|
131
|
}
|