narasiahli-be/app/module/article_files/response/article_files.response.go

25 lines
892 B
Go

package response
import "time"
type ArticleFilesResponse struct {
ID uint `json:"id"`
ArticleId uint `json:"article_id"`
FilePath *string `json:"file_path"`
FileUrl *string `json:"file_url"`
FileName *string `json:"file_name"`
FileThumbnail *string `json:"file_thumbnail"`
FileAlt *string `json:"file_alt"`
WidthPixel *string `json:"width_pixel"`
HeightPixel *string `json:"height_pixel"`
Size *string `json:"size"`
DownloadCount *int `json:"download_count"`
CreatedById int `json:"created_by_id"`
StatusId int `json:"status_id"`
IsPublish *bool `json:"is_publish"`
PublishedAt *time.Time `json:"published_at"`
IsActive bool `json:"is_active"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}