package response

import (
	"time"
)

type EducationHistoryResponse struct {
	ID               uint           `json:"id"`
	UserID           uint           `json:"userId"`
	SchoolName       string         `json:"schoolName"`
	Major            string         `json:"major"`
	EducationLevel   string         `json:"educationLevel"`
	GraduationYear   int            `json:"graduationYear"`
	CertificateImage *string        `json:"certificateImage"`
	CreatedAt        time.Time      `json:"createdAt"`
	UpdatedAt        time.Time      `json:"updatedAt"`
	User             *UserBasicInfo `json:"user,omitempty"`
}

type UserBasicInfo struct {
	ID       uint   `json:"id"`
	Username string `json:"username"`
	Fullname string `json:"fullname"`
	Email    string `json:"email"`
}
