This commit is contained in:
@@ -199,4 +199,17 @@ type GuideLink struct {
|
||||
|
||||
func (GuideLink) TableName() string { return "guide_links" }
|
||||
|
||||
// AppDownload đại diện cho ứng dụng và link tải
|
||||
type AppDownload struct {
|
||||
ID uint `gorm:"primaryKey" json:"id"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
Name string `gorm:"column:name;size:255;not null" json:"name"`
|
||||
Description string `gorm:"column:description;size:512" json:"description"`
|
||||
DownloadURL string `gorm:"column:download_url;size:1024;not null" json:"downloadUrl"`
|
||||
Platform string `gorm:"column:platform;size:64" json:"platform"` // "Windows", "macOS", "Linux", "Khác"
|
||||
}
|
||||
|
||||
func (AppDownload) TableName() string { return "app_downloads" }
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user