package plant

import (
	"sundynix-go/global"
	"sundynix-go/model/system"
)

type Class 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"`
}
