article.go 381 B

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