...
|
...
|
@@ -15,7 +15,7 @@ type CooperationProject struct { |
|
|
CompanyName string `json:"companyName"`
|
|
|
} `json:"company"` //项目归属企业
|
|
|
Org struct {
|
|
|
OrgId int `json:"orgId"`
|
|
|
OrgId int `json:"orgId,string"`
|
|
|
OrgName string `json:"orgName"`
|
|
|
} `json:"org"` //项目创建时的组织
|
|
|
CooperationMode struct {
|
...
|
...
|
@@ -31,21 +31,21 @@ type CooperationProject struct { |
|
|
CooperationProjectPublishTime time.Time `json:"cooperationProjectPublishTime"`
|
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
|
CooperationProjectPublisher struct {
|
|
|
UsersId int `json:"usersId"`
|
|
|
UsersId int `json:"userId,string"`
|
|
|
UserInfo struct {
|
|
|
UsersName string `json:"usersName"`
|
|
|
UsersCode string `json:"usersCode"`
|
|
|
UsersName string `json:"userName"`
|
|
|
UsersCode string `json:"userCode"`
|
|
|
Phone string `json:"phone"`
|
|
|
UsersId int `json:"userId,string,"`
|
|
|
} `json:"userInfo"`
|
|
|
} `json:"cooperationProjectPublisher"` //项目发布人,即操作人
|
|
|
CooperationProjectSponsor struct {
|
|
|
UsersId int `json:"usersId"`
|
|
|
UsersId int `json:"userId,string"`
|
|
|
UserInfo struct {
|
|
|
UsersName string `json:"usersName"`
|
|
|
UsersCode string `json:"usersCode"`
|
|
|
UsersName string `json:"userName"`
|
|
|
UsersCode string `json:"userCode"`
|
|
|
Phone string `json:"phone"`
|
|
|
UsersId int `json:"userId,string,"`
|
|
|
UsersId int `json:"userId,string"`
|
|
|
} `json:"userInfo"`
|
|
|
} `json:"cooperationProjectSponsor"` //项目发起人
|
|
|
CooperationProjectUndertakerType []int `json:"cooperationProjectUndertakerType"` //共创合约承接对象,1员工,2共创用户,3公开
|
...
|
...
|
@@ -66,7 +66,7 @@ type ( |
|
|
PublisherUid int `json:"publisherUid,string"`
|
|
|
SponsorUid int `json:"sponsorUid,string"`
|
|
|
DepartmentId int `json:"departmentId,string"`
|
|
|
CooperationProjectUndertakerType []int `json:"cooperationProjectUndertakerType"`
|
|
|
CooperationProjectUndertakerType []int `json:"cooperationProjectUndertakerTypes"`
|
|
|
Attachment []ProjectAttachment `json:"attachment"`
|
|
|
}
|
|
|
|
...
|
...
|
|