2024-03-05 19:15:53 +00:00
|
|
|
package response
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
type ArticlesResponse struct {
|
2024-03-31 15:19:45 +00:00
|
|
|
ID uint `json:"id"`
|
|
|
|
|
Title string `json:"title"`
|
|
|
|
|
Slug string `json:"slug"`
|
|
|
|
|
Description string `json:"description"`
|
2024-05-05 09:24:49 +00:00
|
|
|
HtmlDescription string `json:"htmlDescription"`
|
|
|
|
|
CategoryId int `json:"categoryId"`
|
|
|
|
|
CategoryName string `json:"categoryName"`
|
|
|
|
|
TypeId int `json:"typeId"`
|
2024-03-31 15:19:45 +00:00
|
|
|
Tags string `json:"tags"`
|
2024-05-05 09:24:49 +00:00
|
|
|
ThumbnailUrl string `json:"thumbnailUrl"`
|
|
|
|
|
PageUrl *string `json:"pageUrl"`
|
|
|
|
|
CreatedById *uint `json:"createdById"`
|
|
|
|
|
ShareCount *int `json:"shareSount"`
|
|
|
|
|
ViewCount *int `json:"viewCount"`
|
|
|
|
|
DownloadCount *int `json:"downloadCount"`
|
|
|
|
|
StatusId *int `json:"statusId"`
|
|
|
|
|
IsPublish *bool `json:"isPublish"`
|
|
|
|
|
PublishedAt *time.Time `json:"publishedAt"`
|
|
|
|
|
IsActive *bool `json:"isActive"`
|
|
|
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
|
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
2024-03-31 15:19:45 +00:00
|
|
|
}
|