You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
517 B
20 lines
517 B
// 自动生成模板AppBanners
|
|
package app
|
|
|
|
import (
|
|
"ln/nft/global"
|
|
)
|
|
|
|
// AppBanners 结构体
|
|
type AppBanners struct {
|
|
global.GVA_MODEL
|
|
ImgUrl string `json:"imgUrl" form:"imgUrl" gorm:"column:img_url;comment:;size:191;"`
|
|
Type *int `json:"type" form:"type" gorm:"column:type;comment:1:藏品 2:消息 3文章/自定义链接;"`
|
|
Value string `json:"value" form:"value" gorm:"column:value;comment:;size:191;"`
|
|
}
|
|
|
|
// TableName AppBanners 表名
|
|
func (AppBanners) TableName() string {
|
|
return "app_banners"
|
|
}
|