e_exam.go 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package entity
  2. import (
  3. "time"
  4. )
  5. type ExamPao struct {
  6. TeamName string `json:"teamName"` // 队伍名字
  7. PositionX string `json:"positionX"` // 队伍名字
  8. PositionY string `json:"positionY"` // 队伍名字
  9. }
  10. type ExamPo struct {
  11. Id int `json:"id" db:"id"` // 自增id
  12. TeamName string `json:"teamName" db:"team_name"`
  13. Topic string `json:"topic" db:"topic"`
  14. BeginTime time.Time `json:"beginTime" db:"begin_time"`
  15. EndTime time.Time `json:"endTime" db:"end_time"`
  16. ScoreOnline float64 `json:"scoreOnline" db:"score_online"`
  17. ScoreOffline float64 `json:"scoreOffline" db:"score_offline"`
  18. ScoreFinal float64 `json:"scoreFinal" db:"score_final"`
  19. Details string `json:"details" db:"details"`
  20. ScoreReportPath string `json:"ScoreReportPath" db:"score_report_path"`
  21. }
  22. type ExamVo struct {
  23. Id int `json:"id" ` // 自增id
  24. TeamName string `json:"teamName"`
  25. Topic string `json:"topic" `
  26. BeginTime string `json:"beginTime" `
  27. EndTime string `json:"endTime"`
  28. ScoreOnline float64 `json:"scoreOnline" `
  29. ScoreOffline float64 `json:"scoreOffline" `
  30. ScoreFinal float64 `json:"scoreFinal"`
  31. Details string `json:"details" `
  32. ScoreReportPath string `json:"ScoreReportPath" `
  33. }
  34. type ExamPagePao struct {
  35. CurrentPage int `json:"currentPage"`
  36. PageSize int `json:"pageSize"`
  37. TeamName string `json:"teamName"` // 队伍名字
  38. Topic string `json:"topic"` // 赛题
  39. }
  40. type ExamReportPao struct {
  41. Id int `json:"id"`
  42. TeamName string `json:"teamName"`
  43. ScoreFinal int `json:"scoreFinal"`
  44. BeginTime string `json:"beginTime"`
  45. EndTime string `json:"endTime"`
  46. }