package response

import (
	"time"
	magazineFilesResponse "web-qudo-be/app/module/magazine_files/response"
)

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"`

	MagazineFiles []*magazineFilesResponse.MagazineFilesResponse `json:"files"`
}
