game_ratio_data.go 676 B

12345678910111213141516171819202122232425
  1. package task
  2. import "time"
  3. type GameRatioData struct {
  4. Id uint `json:"id" gorm:"primarykey"`
  5. CreatedAt time.Time
  6. UpdatedAt time.Time
  7. GameId int `json:"game_id"`
  8. Second int `json:"second"` // 次留
  9. Third int `json:"third"` // 3留
  10. Forth int `json:"forth"` // 4留
  11. Fifth int `json:"fifth"` // 5留
  12. Sixth int `json:"sixth"` // 6留
  13. Seventh int `json:"seventh"` // 7留
  14. Tenth int `json:"tenth"` // 10留
  15. Fifteenth int `json:"fifteenth"` // 15留
  16. Twentieth int `json:"twentieth"` // 20留
  17. Thirtieth int `json:"thirtieth"` // 30留
  18. }
  19. func (GameRatioData) TableName() string {
  20. return "game_ratio_data"
  21. }