e_exam.go 853 B

12345678910111213141516171819202122232425262728293031323334
  1. package entity
  2. import (
  3. commonEntity "cicv-data-closedloop/common/entity"
  4. "time"
  5. )
  6. type ExamPao struct {
  7. TeamName string `json:"teamName"` // 队伍名字
  8. }
  9. type ExamPo struct {
  10. Id int `db:"id"` // 自增id
  11. TeamName string `db:"team_name"`
  12. Topic string `db:"topic"`
  13. BeginTime time.Time `db:"begin_time"`
  14. EndTime time.Time `db:"end_time"`
  15. ScoreOnline float64 `db:"score_online"`
  16. ScoreOffline float64 `db:"score_offline"`
  17. ScoreFinal float64 `db:"score_final"`
  18. Details string `db:"details"`
  19. ScoreReportPath string `db:"score_report_path"`
  20. }
  21. type ExamPagePao struct {
  22. Page commonEntity.PagePao
  23. TeamName string `json:"teamName"` // 队伍名字
  24. Topic string `json:"topic"`
  25. }
  26. type ExamPageVo struct {
  27. Exam ExamPo
  28. Page commonEntity.PagePao
  29. }