add docs
All checks were successful
Deploy on Master Change / deploy (push) Successful in 44s

This commit is contained in:
2026-07-01 14:58:46 +07:00
parent dd766206f7
commit 0b02cc82b5
9 changed files with 992 additions and 2 deletions

View File

@@ -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" }