viewpoint.go 543 B

123456789101112131415161718192021
  1. package archive
  2. // ViewPointRow video highlight viewpoint
  3. type ViewPointRow struct {
  4. ID int64 `json:"id"`
  5. AID int64 `json:"aid"`
  6. CID int64 `json:"cid"`
  7. Points []*ViewPoint `json:"points"`
  8. State int32 `json:"state"`
  9. CTime string `json:"ctime"`
  10. MTime string `json:"mtime"`
  11. }
  12. // ViewPoint viewpoint struct
  13. type ViewPoint struct {
  14. Type int8 `json:"type"`
  15. From int `json:"from"`
  16. To int `json:"to"`
  17. Content string `json:"content"`
  18. State int8 `json:"state"`
  19. }