feat: add Go backend
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
// =================================================================================
|
||||
// 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 uint64 `json:"id" orm:"id" description:"主键"`
|
||||
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
Name string `json:"name" orm:"name" description:"后台名称"`
|
||||
Position string `json:"position" orm:"position" description:"投放位置"`
|
||||
ImageAttachmentId uint64 `json:"imageAttachmentId" orm:"image_attachment_id" description:"图片附件ID"`
|
||||
ImageUrl string `json:"imageUrl" orm:"image_url" description:"图片URL"`
|
||||
AltText string `json:"altText" orm:"alt_text" description:"替代文本"`
|
||||
TargetType int `json:"targetType" orm:"target_type" description:"跳转类型"`
|
||||
TargetValue string `json:"targetValue" orm:"target_value" description:"跳转值"`
|
||||
StartAt *gtime.Time `json:"startAt" orm:"start_at" description:"开始时间"`
|
||||
EndAt *gtime.Time `json:"endAt" orm:"end_at" description:"结束时间"`
|
||||
PublishStatus int `json:"publishStatus" orm:"publish_status" description:"发布状态"`
|
||||
Sort int `json:"sort" orm:"sort" description:"排序"`
|
||||
Version uint `json:"version" orm:"version" description:"乐观锁"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
CreatedBy uint64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
UpdatedBy uint64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
DeletedBy uint64 `json:"deletedBy" orm:"deleted_by" description:"删除者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user