固定文章编码
This commit is contained in:
@@ -6,6 +6,7 @@ import "platform/web/core"
|
||||
type Article struct {
|
||||
core.Model
|
||||
GroupID int32 `json:"group_id" gorm:"column:group_id"` // 分组ID
|
||||
Code *string `json:"code,omitempty" gorm:"column:code"` // 文章编码,用于固定引用链接
|
||||
Title string `json:"title" gorm:"column:title"` // 文章标题
|
||||
Content *string `json:"content,omitempty" gorm:"column:content"` // 文章内容
|
||||
Sort int32 `json:"sort" gorm:"column:sort"` // 文章排序
|
||||
|
||||
Reference in New Issue
Block a user