log_scanning_code.go 533 B

12345678910111213141516171819202122
  1. package log
  2. import (
  3. "time"
  4. )
  5. type LogScanningCode struct {
  6. Id uint `json:"id"`
  7. Supplier string `json:"supplier"`
  8. OrderNum string `json:"order_num"`
  9. GameId int `json:"game_id"`
  10. LogUuid string `json:"log_uuid"`
  11. Status int `json:"status"` // 1成功2失败
  12. TaskType int `json:"task_type"`
  13. CreateDate time.Time `json:"create_date"`
  14. CreateTime time.Time `json:"create_time"` // 创建时间
  15. }
  16. func (LogScanningCode) TableName() string {
  17. return "log_scanning_code"
  18. }