v1.0.0
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package models
|
||||
|
||||
import "sun-panel/models/datatype"
|
||||
|
||||
type ItemIcon struct {
|
||||
BaseModel
|
||||
IconJson string `gorm:"type:varchar(1000)" json:"-"`
|
||||
Icon datatype.ItemIconIconInfo `gorm:"-" json:"icon"`
|
||||
Title string `gorm:"type:varchar(50)" json:"title"`
|
||||
Url string `gorm:"type:varchar(1000)" json:"url"`
|
||||
LanUrl string `gorm:"type:varchar(1000)" json:"lanUrl"`
|
||||
Description string `gorm:"type:varchar(1000)" json:"description"`
|
||||
OpenMethod int `gorm:"type:tinyint(1)" json:"openMethod"`
|
||||
Sort int `gorm:"type:int(11)" json:"sort"`
|
||||
GroupId int `json:"groupId"` // 为以后分组做准备
|
||||
UserId uint `json:"userId"`
|
||||
User User `json:"user"`
|
||||
}
|
||||
Reference in New Issue
Block a user