feat: 百科分类api
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package plant
|
||||
|
||||
import (
|
||||
"sundynix-go/global"
|
||||
"sundynix-go/model/system"
|
||||
)
|
||||
|
||||
type WikiClass struct {
|
||||
global.BaseModel
|
||||
Name string `json:"name" form:"name" gorm:"column:name;comment:名称"`
|
||||
OssId string `json:"ossId" form:"ossId" gorm:"column:oss_id;comment:图片id"`
|
||||
Oss *system.Oss `gorm:"foreignKey:OssId" json:"oss"`
|
||||
}
|
||||
Reference in New Issue
Block a user