16 lines
559 B
Go
16 lines
559 B
Go
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"`
|
|
}
|