15 lines
317 B
Go
15 lines
317 B
Go
package model
|
|
|
|
import (
|
|
"git.echol.cn/loser/lckt/model/example"
|
|
)
|
|
|
|
type SysAttachment struct {
|
|
example.ExaFileUploadAndDownload
|
|
CatId uint `json:"cat_id" form:"cat_id" gorm:"default:0;type:int;column:cat_id;comment:分类id;"`
|
|
}
|
|
|
|
func (SysAttachment) TableName() string {
|
|
return "exa_file_upload_and_downloads"
|
|
}
|