| | |
| | | HandledAt *time.Time `json:"handled_at"` |
| | | CreatedAt time.Time `json:"created_at"` |
| | | } |
| | | |
| | | // ClientVersion 客户端版本(管理后台上传,下载页展示最新版供用户下载) |
| | | type ClientVersion struct { |
| | | ID uint `gorm:"primaryKey" json:"id"` |
| | | Version string `gorm:"size:50" json:"version"` // 版本号,如 1.0.0 |
| | | Notes string `gorm:"size:1000" json:"notes"` // 更新说明 |
| | | FileURL string `gorm:"size:255" json:"file_url"` // 安装包URL(zip) |
| | | FileSize string `gorm:"size:20" json:"file_size"` // 展示大小,如 30.6 MB |
| | | DownloadCount int `json:"download_count"` |
| | | CreatedAt time.Time `json:"created_at"` |
| | | } |