ansque.go 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package model
  2. // AnsQueDetail .
  3. type AnsQueDetail struct {
  4. ID int64 `json:"qs_id"`
  5. AnsImg string `json:"ans_img"`
  6. QsHeight float64 `json:"qs_h"`
  7. QsPositionY float64 `json:"qs_y"`
  8. Ans1Hash string `json:"ans1_hash"`
  9. Ans2Hash string `json:"ans2_hash"`
  10. Ans3Hash string `json:"ans3_hash"`
  11. Ans4Hash string `json:"ans4_hash"`
  12. Ans0Height float64 `json:"ans0_h"`
  13. Ans0PositionY float64 `json:"ans0_y"`
  14. Ans1Height float64 `json:"ans1_h"`
  15. Ans1PositionY float64 `json:"ans1_y"`
  16. Ans2Height float64 `json:"ans2_h"`
  17. Ans2PositionY float64 `json:"ans2_y"`
  18. Ans3Height float64 `json:"ans3_h"`
  19. Ans3PositionY float64 `json:"ans3_y"`
  20. }
  21. // AnsQueDetailList .
  22. type AnsQueDetailList struct {
  23. CurrentTime int64 `json:"current_time"`
  24. EndTime int64 `json:"end_time"`
  25. QuesList []*AnsQueDetail `json:"items"`
  26. }
  27. // AnsProType .
  28. type AnsProType struct {
  29. List []*AnsTypeList `json:"list"`
  30. CurrentTime int64 `json:"current_time"`
  31. EndTime int64 `json:"end_time"`
  32. Repro string `json:"repro"`
  33. }
  34. // AnsTypeList .
  35. type AnsTypeList struct {
  36. Name string `json:"name"`
  37. Fields []*AnsType `json:"fields"`
  38. }
  39. // AnsType info.
  40. type AnsType struct {
  41. ID int64 `json:"id"`
  42. Name string `json:"name"`
  43. }