package response

import "time"

type ArticlesResponse struct {
	ID              uint       `json:"id"`
	Title           string     `json:"title"`
	Slug            string     `json:"slug"`
	Description     string     `json:"description"`
	HtmlDescription string     `json:"htmlDescription"`
	CategoryId      int        `json:"categoryId"`
	CategoryName    string     `json:"categoryName"`
	TypeId          int        `json:"typeId"`
	Tags            string     `json:"tags"`
	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"`
}
