初始化v1
This commit is contained in:
21
internal/model/entity/banner.go
Normal file
21
internal/model/entity/banner.go
Normal file
@@ -0,0 +1,21 @@
|
||||
// =================================================================================
|
||||
// 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:"更新时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user