ArchiveStatStream.go 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package model
  2. import (
  3. xtime "go-common/library/time"
  4. )
  5. // ArchiveStatStream is table archive_stat
  6. type ArchiveStatStream struct {
  7. ID int64 `json:"id"`
  8. Business int `json:"business"`
  9. StatType int `json:"stat_type"`
  10. TypeID int `json:"typeid"`
  11. GroupID int `json:"group_id"`
  12. UID int `json:"uid"`
  13. StatTime xtime.Time `json:"stat_time"`
  14. StatValue int64 `json:"stat_value"`
  15. Ctime xtime.Time `json:"ctime"`
  16. Mtime xtime.Time `json:"mtime"`
  17. State int `json:"state"`
  18. }
  19. const (
  20. // business字段枚举值
  21. // Recheck123 is 稿件123回查移入移出
  22. Recheck123 = 1
  23. // stat_type字段枚举值
  24. // FIRST_RECHECK_IN is 一查移入
  25. FIRST_RECHECK_IN = 1
  26. // FIRST_RECHECK_OUT is 一查移出
  27. FIRST_RECHECK_OUT = 2
  28. // SECOND_RECHECK_IN is 二查移入
  29. SECOND_RECHECK_IN = 3
  30. // SECOND_RECHECK_OUT is 二查移出
  31. SECOND_RECHECK_OUT = 4
  32. // THIRD_RECHECK_IN is 三查移入
  33. THIRD_RECHECK_IN = 5
  34. // THIRD_RECHECK_OUT is 三查移出
  35. THIRD_RECHECK_OUT = 6
  36. )