archive.go 356 B

12345678910111213141516171819
  1. package model
  2. import (
  3. "go-common/library/time"
  4. )
  5. //Archive for db.
  6. type Archive struct {
  7. ID int64 `json:"id"`
  8. MID int64 `json:"mid"`
  9. State int `json:"state"`
  10. }
  11. // AidPubTime aid's pubdate and copyright
  12. type AidPubTime struct {
  13. Aid int64 `json:"aid"`
  14. PubDate time.Time `json:"pubdate"`
  15. Copyright int8 `json:"copyright"`
  16. }