PreLinkList.go 729 B

123456789101112131415161718192021222324252627282930
  1. package http_model
  2. import "time"
  3. type PreLinkListRequest struct {
  4. PageSize int `json:"page_size"`
  5. PageNum int `json:"page_num"`
  6. ProjectId string `json:"project_id"` // 项目ID
  7. LinkStatus string `json:"link_status"` // 链接状态,11待传链接
  8. }
  9. type GetprelinkListData struct {
  10. TasklinkList []*Tasklinkinfo `json:"task_list"`
  11. Total string `json:"total"`
  12. }
  13. type Tasklinkinfo struct {
  14. Task *TaskInfo `json:"task_info"`
  15. DDl time.Time `json:"ddl"` // 提交时间
  16. }
  17. func NewPreLinkListRequest() *PreLinkListRequest {
  18. return new(PreLinkListRequest)
  19. }
  20. func NewPreLinkListResponse() *CommonResponse {
  21. resp := new(CommonResponse)
  22. resp.Data = new(GetSketchTaskListData)
  23. return resp
  24. }