jointly.go 712 B

123456789101112131415161718192021222324252627
  1. package model
  2. import "go-common/library/time"
  3. // Jointly def.
  4. type Jointly struct {
  5. ID int64 `json:"id"`
  6. Title string `json:"title"`
  7. Content string `json:"content"`
  8. StartTime int64 `json:"start_time"`
  9. EndTime int64 `json:"end_time"`
  10. Link string `json:"link"`
  11. IsHot int8 `json:"is_hot"`
  12. State int8 `json:"state"`
  13. Operator string `json:"operator"`
  14. CTime time.Time `json:"ctime"`
  15. MTime time.Time `json:"mtime"`
  16. }
  17. // JointlyResp jointly resp.
  18. type JointlyResp struct {
  19. Title string `json:"title"`
  20. Content string `json:"content"`
  21. IsHot int8 `json:"is_hot"`
  22. Link string `json:"link"`
  23. EndTime int64 `json:"end_time"`
  24. }