article.go 381 B

123456789101112131415161718192021
  1. package dto
  2. type Article struct {
  3. ID uint64
  4. URL string
  5. Title string
  6. PublishTime string
  7. Text string
  8. Image string
  9. MetaKeywords string
  10. MetaDescription string
  11. }
  12. type ArticlePreview struct {
  13. ID uint64
  14. URL string
  15. Title string
  16. PublishTime string
  17. PreviewText string
  18. Image string
  19. }