diff --git a/internal/models/quizpaper.go b/internal/models/quizpaper.go index 4368b6d..305c0af 100644 --- a/internal/models/quizpaper.go +++ b/internal/models/quizpaper.go @@ -13,7 +13,7 @@ type QuizPaper struct { ManagerID int64 `json:"manager_id" db:"manager_id" example:"100001" gorm:"column:manager_id;index;"` Title string `json:"title" db:"title" example:"퀴즈 시트 제목" gorm:"column:title;size:255;index;"` Content string `json:"content" db:"content" example:"퀴즈 시트 설명" gorm:"column:content;size:512;"` - Category string `json:"category" db:"category" example:"파이썬기본" gorm:"column:title;size:255;"` + Category string `json:"category" db:"category" example:"파이썬기본" gorm:"column:category;size:255;"` Tag datatypes.JSON `json:"tag" db:"tag" gorm:"column:tag;"` Status string `json:"status" example:"on" gorm:"column:status;size:10;index;"` UpdatedAt time.Time `json:"-" gorm:"column:updated_at;type:DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;index;->:false"`