31 lines
2.2 KiB
Go
31 lines
2.2 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// Content is the golang structure for table content.
|
|
type Content struct {
|
|
Id uint64 `json:"id" orm:"id" description:"主键"`
|
|
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
|
ContentKey string `json:"contentKey" orm:"content_key" description:"稳定内容标识"`
|
|
ContentType string `json:"contentType" orm:"content_type" description:"内容类型"`
|
|
Title string `json:"title" orm:"title" description:"后台标题"`
|
|
PublishedVersionId uint64 `json:"publishedVersionId" orm:"published_version_id" description:"当前发布版本ID"`
|
|
PublishStatus int `json:"publishStatus" orm:"publish_status" description:"发布状态"`
|
|
PublishedAt *gtime.Time `json:"publishedAt" orm:"published_at" 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:"删除时间"`
|
|
}
|