elec.go 731 B

123456789101112131415161718192021222324
  1. package model
  2. import "encoding/json"
  3. // ElecShow elec show
  4. type ElecShow struct {
  5. ShowInfo *ShowInfo `json:"show_info"`
  6. AvCount int `json:"av_count"`
  7. Count int `json:"count"`
  8. TotalCount int64 `json:"total_count"`
  9. SpecialDay int `json:"special_day"`
  10. DisplayNum int `json:"display_num"`
  11. AvList json.RawMessage `json:"av_list,omitempty"`
  12. AvUser json.RawMessage `json:"av_user,omitempty"`
  13. List json.RawMessage `json:"list,omitempty"`
  14. User json.RawMessage `json:"user,omitempty"`
  15. }
  16. // ShowInfo show info
  17. type ShowInfo struct {
  18. Show bool `json:"show"`
  19. State int8 `json:"state"`
  20. Reason string `json:"reason,omitempty"`
  21. }