qudoco-be/app/module/magazine_files/response/magazine_files.response.go

25 lines
869 B
Go

package response
import "time"
type MagazineFilesResponse struct {
ID uint `json:"id"`
Title string `json:"title"`
Description string `json:"description"`
MagazineId uint `json:"magazineId"`
DownloadCount *int `json:"downloadCount"`
FilePath *string `json:"filePath"`
FileUrl *string `json:"fileUrl"`
FileName *string `json:"fileName"`
FileAlt *string `json:"fileAlt"`
WidthPixel *string `json:"widthPixel"`
HeightPixel *string `json:"heightPixel"`
Size *string `json:"size"`
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"`
}