package response

import (
	ppidDataFilesResponse "go-humas-be/app/module/ppid_data_files/response"
	"time"
)

type PpidDatasResponse struct {
	ID            uint       `json:"id"`
	Title         string     `json:"title"`
	Description   string     `json:"description"`
	Slug          string     `json:"slug"`
	CategoryId    uint       `json:"categoryId"`
	CategoryName  *string    `json:"categoryName"`
	CreatedById   *uint      `json:"createdById"`
	CreatedByName *string    `json:"createdByName"`
	StatusId      int        `json:"statusId"`
	StatusName    int        `json:"statusName"`
	IsPublish     *bool      `json:"isPublish"`
	PublishedAt   *time.Time `json:"publishedAt"`
	IsActive      *bool      `json:"isActive"`
	CreatedAt     time.Time  `json:"createdAt"`
	UpdatedAt     time.Time  `json:"updatedAt"`

	PpidDataFiles []*ppidDataFilesResponse.PpidDataFilesResponse `json:"files"`
}
