✨ Init
This commit is contained in:
12
model/common/banner.go
Normal file
12
model/common/banner.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"miniapp/global"
|
||||
)
|
||||
|
||||
type Banner struct {
|
||||
global.GVA_MODEL
|
||||
ImgUrl string `json:"imgUrl" gorm:"type:varchar(255) comment '图片地址'"`
|
||||
Link string `json:"link" gorm:"type:varchar(255) comment '跳转链接'"`
|
||||
Status int `json:"status" gorm:"type:tinyint(1) comment '是否显示 0-不显示 1-显示'"`
|
||||
}
|
Reference in New Issue
Block a user