feat: swagger format
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
type Topic struct {
|
||||
global.BaseModel
|
||||
Title string `json:"title"`
|
||||
StartTime time.Time `json:"start_time" gorm:"column:start_time;"`
|
||||
EndTime time.Time `json:"end_time" gorm:"column:end_time;"`
|
||||
StartTime time.Time `json:"startTime" gorm:"type:date;column:start_time;"`
|
||||
EndTime time.Time `json:"endTime" gorm:"type:date;column:end_time;"`
|
||||
Remark string `json:"remark"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user