zhangqian
2023-08-26 5193dcb9336e853502baf8a539d3f45efebe2f86
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package example
 
import (
    "srm/global"
)
 
type ExaFileUploadAndDownload struct {
    global.GVA_MODEL
    Name string `json:"name" gorm:"comment:文件名"` // 文件名
    Url  string `json:"url" gorm:"comment:文件地址"` // 文件地址
    Tag  string `json:"tag" gorm:"comment:文件标签"` // 文件标签
    Key  string `json:"key" gorm:"comment:编号"`   // 编号
}
 
func (ExaFileUploadAndDownload) TableName() string {
    return "exa_file_upload_and_downloads"
}