mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-22 08:56:48 +08:00
🎨 🔥 ✨ 🚑 集成前端代码的&兼容容器化部署插件的插件改造&提供了一个新的轮播图插件
This commit is contained in:
22
server/addons/flashbanner/model/entity/banner.go
Normal file
22
server/addons/flashbanner/model/entity/banner.go
Normal file
@@ -0,0 +1,22 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Banner is the golang structure for table banner.
|
||||
type Banner struct {
|
||||
Id int `json:"id" orm:"id" description:""`
|
||||
Name string `json:"name" orm:"name" description:"轮播图名称"`
|
||||
Cover string `json:"cover" orm:"cover" description:"图片URL"`
|
||||
Link string `json:"link" orm:"link" description:"跳转链接,小程序内用相对地址"`
|
||||
Type int `json:"type" orm:"type" description:"类型默认不传"`
|
||||
Status uint `json:"status" orm:"status" description:"1可用"`
|
||||
Sort int `json:"sort" orm:"sort" description:"排序,数字越大越靠前"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
|
||||
}
|
||||
Reference in New Issue
Block a user