30 lines
2.0 KiB
Go
30 lines
2.0 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/encoding/gjson"
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// ContentVersion is the golang structure for table content_version.
|
|
type ContentVersion struct {
|
|
Id uint64 `json:"id" orm:"id" description:"主键"`
|
|
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
|
ContentId uint64 `json:"contentId" orm:"content_id" description:"内容ID"`
|
|
VersionNo uint `json:"versionNo" orm:"version_no" description:"版本号"`
|
|
Title string `json:"title" orm:"title" description:"展示标题"`
|
|
Summary string `json:"summary" orm:"summary" description:"摘要"`
|
|
BodyHtml string `json:"bodyHtml" orm:"body_html" description:"清洗后HTML"`
|
|
BodyText string `json:"bodyText" orm:"body_text" description:"降级文本"`
|
|
CoverUrl string `json:"coverUrl" orm:"cover_url" description:"封面图片URL"`
|
|
AssetIds *gjson.Json `json:"assetIds" orm:"asset_ids" description:"引用附件ID"`
|
|
PublishStatus int `json:"publishStatus" orm:"publish_status" description:"发布状态"`
|
|
EffectiveAt *gtime.Time `json:"effectiveAt" orm:"effective_at" description:"计划生效时间"`
|
|
ApprovalRequestId uint64 `json:"approvalRequestId" orm:"approval_request_id" description:"审批单ID"`
|
|
CreatedBy uint64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
|
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
|
}
|