GetSelectionInfoRequest.go 888 B

12345678910111213141516171819202122232425262728293031
  1. package http_model
  2. type GetSelectionInfoRequest struct {
  3. PageSize int32 `json:"page_size"`
  4. PageNum int32 `json:"page_num"`
  5. EnterpriseId int32 `json:"enterprise_id"`
  6. UpdateAt string `json:"updated_at"`
  7. }
  8. type SelectionInfoPreview struct {
  9. SelectionId string `json:"selection_id"`
  10. SelectionName string `json:"selection_name"`
  11. TaskModel string `json:"task_model"`
  12. SampleModel string `json:"sample_model"`
  13. UpdateAt string `json:"update_at"`
  14. }
  15. type SelectionInfoData struct {
  16. SelectionInfoPreview []*SelectionInfoPreview `json:"selection_info_preview"`
  17. Total string `json:"total"`
  18. }
  19. func NewGetSelectionInfoRequest() *GetSelectionInfoRequest {
  20. return new(GetSelectionInfoRequest)
  21. }
  22. func NewGetSelectionInfoResponse() *CommonResponse {
  23. resp := new(CommonResponse)
  24. resp.Data = new(SelectionInfoData)
  25. return resp
  26. }