medol-be/app/module/magazines/response/magazines.response.go

20 lines
637 B
Go

package response
import "time"
type MagazinesResponse struct {
ID uint `json:"id"`
Title string `json:"title"`
Description string `json:"description"`
ThumbnailPath string `json:"thumbnailPath"`
ThumbnailUrl string `json:"thumbnailUrl"`
PageUrl string `json:"pageUrl"`
CreatedById *uint `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"`
}