|
|
@@ -4,8 +4,9 @@ import "server/global"
|
|
|
|
|
|
type DeviceGenre struct {
|
|
|
global.GVA_MODEL
|
|
|
- Name string `json:"name" form:"name" gorm:"comment:类型名称"`
|
|
|
- Type string `json:"type" form:"type" gorm:"comment:硬件类型"`
|
|
|
+ Name string `json:"name" form:"name" gorm:"comment:类型名称"`
|
|
|
+ Type string `json:"type" form:"type" gorm:"comment:硬件类型"`
|
|
|
+ IconAddress string `json:"iconAddress" form:"iconAddress" gorm:"comment:图标地址"`
|
|
|
}
|
|
|
|
|
|
func (DeviceGenre) TableName() string {
|