report_open.go 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package models
  2. // ReportCreateReq 创建报告
  3. type ReportCreateReq struct {
  4. ReportId int `description:"智力共享报告ID"`
  5. ClassifyId int `description:"分类ID"`
  6. Title string `description:"报告标题"`
  7. EndTime string `description:"课题结束时间"`
  8. Creator string `description:"创建人工号"`
  9. Authors []string `description:"作者工号"`
  10. }
  11. // ReportCreateResp 创建报告响应
  12. type ReportCreateResp struct {
  13. ReportId int `description:"智能研报ID"`
  14. //ReportCode string `description:"报告唯一编码"`
  15. }
  16. // ReportModifyReq 编辑报告
  17. type ReportModifyReq struct {
  18. ReportId int `description:"智力共享报告ID"`
  19. Title string `description:"报告标题"`
  20. EndTime string `description:"课题结束时间"`
  21. Authors []string `description:"作者工号"`
  22. Operator string `description:"操作人工号"`
  23. }
  24. // ReportApproveReq 审批报告
  25. type ReportApproveReq struct {
  26. ReportIds []int `description:"智力共享报告ID"`
  27. ApproveType int `description:"审批类型:1-通过;2-驳回;3-撤回"`
  28. ApproveUser string `description:"审批人"`
  29. Suggestion string `description:"审批意见"`
  30. }
  31. // ReportRemoveReq 删除报告
  32. type ReportRemoveReq struct {
  33. ReportIds []int `description:"智力共享报告ID"`
  34. Operator string `description:"操作人工号"`
  35. }