task_log.go 466 B

123456789101112131415161718
  1. package model
  2. import (
  3. xtime "go-common/library/time"
  4. )
  5. // TaskLog record the uploaded task details
  6. type TaskLog struct {
  7. ID int64 `json:"id"`
  8. TaskID int64 `json:"task_id"`
  9. MID int64 `json:"mid"`
  10. Build string `json:"build"`
  11. Platform int `json:"platform"`
  12. TaskState int `json:"task_state"`
  13. Reason string `json:"reason"`
  14. CTime xtime.Time `json:"ctime"`
  15. MTime xtime.Time `json:"mtime"`
  16. }