19 lines
603 B
Go
19 lines
603 B
Go
|
|
package response
|
||
|
|
|
||
|
|
import "time"
|
||
|
|
|
||
|
|
type MagazinesResponse struct {
|
||
|
|
ID uint `json:"id"`
|
||
|
|
Title string `json:"title"`
|
||
|
|
Description string `json:"description"`
|
||
|
|
ThumbnailPath string `json:"thumbnail_path"`
|
||
|
|
ThumbnailUrl string `json:"thumbnail_url"`
|
||
|
|
PageUrl string `json:"page_url"`
|
||
|
|
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"`
|
||
|
|
}
|