init: init refactor

This commit is contained in:
Blizzard
2026-04-27 00:02:18 +08:00
commit e515f6a287
360 changed files with 30713 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
package model
import (
"sundynix-micro-go/common/model"
)
// SundynixOss OSS文件表
type SundynixOss struct {
model.BaseModel
Name string `json:"name" gorm:"column:name;comment:文件名"`
Url string `json:"url" gorm:"column:url;comment:文件地址"`
Tag string `json:"tag" gorm:"column:tag;comment:文件标签"`
Key string `json:"key" gorm:"column:key;comment:文件key"`
Suffix string `json:"suffix" gorm:"column:suffix;comment:文件后缀"`
MD5 string `json:"md5" gorm:"column:md5;comment:文件md5"`
}
// TableName 指定表名
func (SundynixOss) TableName() string {
return "sundynix_oss"
}