22 lines
1.1 KiB
Go
22 lines
1.1 KiB
Go
|
|
// =================================================================================
|
|||
|
|
// 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 nl_banner.
|
|||
|
|
type Banner struct {
|
|||
|
|
Id uint `json:"id" orm:"id" description:"轮播图ID"`
|
|||
|
|
Title string `json:"title" orm:"title" description:"轮播图标题"`
|
|||
|
|
ImageUrl string `json:"image_url" orm:"image_url" description:"图片URL"`
|
|||
|
|
LinkUrl string `json:"link_url" orm:"link_url" description:"跳转链接"`
|
|||
|
|
Sort int `json:"sort" orm:"sort" description:"排序"`
|
|||
|
|
Status int `json:"status" orm:"status" description:"状态:0禁用,1启用"`
|
|||
|
|
CreatedAt *gtime.Time `json:"created_at" orm:"created_at" description:"创建时间"`
|
|||
|
|
UpdatedAt *gtime.Time `json:"updated_at" orm:"updated_at" description:"更新时间"`
|
|||
|
|
}
|