param_cooperation_application.go 2.1 KB
package allied_creation_cooperation

import "gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/domain"

//更新共创申请
type (
	ReqCooperationApplicationUpdate struct {
		CooperationApplicationId int
	}

	DataCooperationApplicationUpdate struct {
	}
)

//共创申请一键审核
type (
	ReqCooperationApplicationBatchApproval struct {
	}

	DataCooperationApplicationBatchApproval struct {
	}
)

//取消共创申请
type (
	ReqCooperationApplicationCancel struct {
		ApplicationId int
	}

	DataCooperationApplicationCancel struct {
	}
)

//审核-同意共创申请
type (
	ReqCooperationApplicationAgree struct {
		CooperationApplicationId int
	}

	DataCooperationApplicationAgree struct {
	}
)

//审核-拒绝共创申请
type (
	ReqCooperationApplicationReject struct {
		CooperationApplicationId int
	}

	DataCooperationApplicationReject struct {
	}
)

//创建共创申请
type (
	ReqCooperationApplicationAdd struct {
		// 共创申请人uid
		ApplicantUid string `json:"applicantUid" `
		// 共创申请描述
		CooperationApplicationDescription string ` json:"cooperationApplicationDescription"`
		// 共创申请描述附件
		CooperationApplicationAttachment []domain.Attachment `json:"cooperationApplicationAttachment"`
		// 关联的共创项目编号
		CooperationProjectNumber string `json:"cooperationProjectNumber"`
	}

	DataCooperationApplicationAdd struct {
		CooperationApplicationId int `json:"cooperationApplicationId,string"`
	}
)

//查询共创申请
type (
	ReqCooperationApplicationSearch struct {
	}

	DataCooperationApplicationSearch struct {
	}
)

//申请共创
type (
	ReqCooperationApplicationApply struct {
	}

	DataCooperationApplicationApply struct {
	}
)

//移除共创申请
type (
	ReqCooperationApplicationRemove struct {
		ApplicationId int
	}

	DataCooperationApplicationRemove struct {
	}
)

//返回共创申请列表
type (
	ReqCooperationApplicationList struct {
	}

	DataCooperationApplicationList struct {
	}
)

//返回共创申请详情
type (
	ReqCooperationApplicationGet struct {
		CooperationApplicationId int
	}

	DataCooperationApplicationGet struct {
	}
)