relate.go 1016 B

123456789101112131415161718192021222324252627
  1. package model
  2. import xtime "go-common/library/time"
  3. //Version app version
  4. type Version struct {
  5. Plat int8 `json:"plat,omitempty"`
  6. Build int `json:"build,omitempty"`
  7. Condition string `json:"conditions,omitempty"`
  8. }
  9. //Relate relate card
  10. type Relate struct {
  11. ID int64 `json:"id,omitempty"`
  12. Param int64 `json:"param,omitempty"`
  13. Goto string `json:"goto,omitempty"`
  14. Title string `json:"title,omitempty"`
  15. ResourceIDs string `json:"resource_ids,omitempty"`
  16. TagIDs string `json:"tag_ids,omitempty"`
  17. ArchiveIDs string `json:"archive_ids,omitempty"`
  18. RecReason string `json:"rec_reason,omitempty"`
  19. Position int32 `json:"position,omitempty"`
  20. STime xtime.Time `json:"stime,omitempty"`
  21. ETime xtime.Time `json:"etime,omitempty"`
  22. Versions map[int8][]*Version `json:"versions,omitempty"`
  23. PgcIDs string
  24. }