channel.go 524 B

12345678910111213141516171819202122232425
  1. package web
  2. import (
  3. tagmdl "go-common/app/interface/main/tag/model"
  4. "go-common/app/service/main/archive/api"
  5. )
  6. // ChCard channel card .
  7. type ChCard struct {
  8. ID int64 `json:"-"`
  9. Title string `json:"-"`
  10. ChannelID int64 `json:"-"`
  11. Type string `json:"-"`
  12. Value int64 `json:"-"`
  13. Reason string `json:"-"`
  14. ReasonType int8 `json:"-"`
  15. Pos int `json:"-"`
  16. FromType string `json:"-"`
  17. }
  18. // Channel .
  19. type Channel struct {
  20. *tagmdl.Tag
  21. Archives []*api.Arc `json:"archives"`
  22. }