exa_file_upload_download.go 466 B

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