init: initial commit

This commit is contained in:
Blizzard
2026-02-06 14:44:06 +08:00
commit 3115b58cb2
133 changed files with 25889 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package system
import (
"sundynix-go/global"
)
type Oss struct {
global.BaseModel
Name string `json:"name" form:"name" gorm:"column:name;comment:文件名"`
Url string `json:"url" form:"url" gorm:"column:url;comment:文件地址"`
Tag string `json:"tag" form:"tag" gorm:"column:tag;comment:文件标签"`
Key string `json:"key" form:"key" gorm:"column:key;comment:文件key"`
Suffix string `json:"suffix" form:"suffix" gorm:"column:suffix;comment:文件后缀"`
MD5 string `json:"md5" form:"md5" gorm:"column:md5;comment:文件md5"`
Height int `json:"height" form:"height" gorm:"column:height;comment:图片高度"`
Width int `json:"width" form:"width" gorm:"column:width;comment:图片宽度"`
}