This commit is contained in:
@@ -212,4 +212,15 @@ type AppDownload struct {
|
||||
|
||||
func (AppDownload) TableName() string { return "app_downloads" }
|
||||
|
||||
// AppGuide đại diện cho tài liệu/video hướng dẫn ứng dụng dành cho sinh viên
|
||||
type AppGuide struct {
|
||||
ID uint `gorm:"primaryKey" json:"id"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
Title string `gorm:"column:title;size:512;not null" json:"title"`
|
||||
URL string `gorm:"column:url;size:1024;not null" json:"url"`
|
||||
}
|
||||
|
||||
func (AppGuide) TableName() string { return "app_guides" }
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user