25 lines
875 B
Go
25 lines
875 B
Go
|
|
package response
|
||
|
|
|
||
|
|
import "time"
|
||
|
|
|
||
|
|
type ArticleFilesResponse struct {
|
||
|
|
ID uint `json:"id"`
|
||
|
|
ArticleId uint `json:"articleId"`
|
||
|
|
FilePath *string `json:"filePath"`
|
||
|
|
FileUrl *string `json:"fileUrl"`
|
||
|
|
FileName *string `json:"fileName"`
|
||
|
|
FileThumbnail *string `json:"fileThumbnail"`
|
||
|
|
FileAlt *string `json:"fileAlt"`
|
||
|
|
WidthPixel *string `json:"widthPixel"`
|
||
|
|
HeightPixel *string `json:"heightPixel"`
|
||
|
|
Size *string `json:"size"`
|
||
|
|
DownloadCount *int `json:"downloadCount"`
|
||
|
|
CreatedById int `json:"createdById"`
|
||
|
|
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"`
|
||
|
|
}
|