...
|
...
|
@@ -180,3 +180,36 @@ func ToCooperationContractInfo(param *allied_creation_cooperation.CooperationCon |
|
|
return &data
|
|
|
|
|
|
}
|
|
|
|
|
|
type CooperationContractUndertake struct {
|
|
|
Undertaker struct {
|
|
|
UsersName string `json:"userName"`
|
|
|
Phone string `json:"phone"`
|
|
|
UserId int `json:"userId,string,"`
|
|
|
UserCode string `json:"userCode"`
|
|
|
} `json:"undertaker"`
|
|
|
CooperationContractDescription string `json:"cooperationContractDescription"`
|
|
|
CooperationContractId int `json:"cooperationContractId,string,"`
|
|
|
CooperationContractName string `json:"cooperationContractName"`
|
|
|
CooperationContractNumber string `json:"cooperationContractNumber"`
|
|
|
CooperationContractSponsor struct {
|
|
|
UsersName string `json:"userName"`
|
|
|
Phone string `json:"phone"`
|
|
|
UserId int `json:"userId,string,"`
|
|
|
UserCode string `json:"userCode"`
|
|
|
} `json:"cooperationContractSponsor"`
|
|
|
CooperationMode struct {
|
|
|
CooperationModeId int `json:"cooperationModeId,string"`
|
|
|
CooperationModeName string `json:"cooperationModeName"`
|
|
|
CooperationModeNumber string `json:"cooperationModeNumber"`
|
|
|
} `json:"cooperationMode"`
|
|
|
Org struct {
|
|
|
OrgName string `json:"orgName"`
|
|
|
} `json:"org"`
|
|
|
Attachment []domain.Attachment `json:"attachment"`
|
|
|
}
|
|
|
|
|
|
func ToCooperationContractUndertake(allied_creation_cooperation.DataCooperationContractSearchByUndertaker) *CooperationContractUndertake {
|
|
|
data := CooperationContractUndertake{}
|
|
|
return &data
|
|
|
} |
...
|
...
|
|