...
|
...
|
@@ -25,15 +25,15 @@ type CreateCooperationProjectCommand struct { |
|
|
// 附件
|
|
|
Attachment []*domain.Attachment `cname:"附件" json:"attachment"`
|
|
|
// 所属部门Id
|
|
|
DepartmentId int64 `json:"departmentId,string"`
|
|
|
DepartmentId int64 `cname:"所属部门ID" json:"departmentId"`
|
|
|
// 公司ID,通过集成REST上下文获取
|
|
|
CompanyId int64 `cname:"公司ID" json:"companyId" valid:"Required"`
|
|
|
CompanyId int64 `cname:"公司ID" json:"companyId"`
|
|
|
// 组织机构ID
|
|
|
OrgId int64 `cname:"组织机构ID" json:"orgId" valid:"Required"`
|
|
|
OrgId int64 `cname:"组织机构ID" json:"orgId"`
|
|
|
// 用户ID,通过集成REST上下文获取,可翻译成发起人、承接人、推荐人、业务员
|
|
|
UserId int64 `cname:"用户ID" json:"userId" valid:"Required"`
|
|
|
UserId int64 `cname:"用户ID" json:"userId"`
|
|
|
// 用户基础数据id
|
|
|
UserBaseId int64 `cname:"用户基础数据ID" json:"userBaseId" valid:"Required"`
|
|
|
UserBaseId int64 `cname:"用户基础数据ID" json:"userBaseId"`
|
|
|
}
|
|
|
|
|
|
func (createCooperationProjectCommand *CreateCooperationProjectCommand) Valid(validation *validation.Validation) {
|
...
|
...
|
|