Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blog ¶
type Blog struct { Id int64 Ident string `orm:"unique"` Title string Keywords string `orm:"null"` CatalogId int64 `orm:"index"` Content *BlogContent `orm:"-"` BlogContentId int64 `orm:"unique"` BlogContentLastUpdate int64 Type int8 /*0:original, 1:translate, 2:reprint*/ Status int8 /*0:draft, 1:release*/ Views int64 Created time.Time `orm:"auto_now_add;type(datetime)"` }
func (*Blog) TableEngine ¶
type BlogContent ¶
func (*BlogContent) TableEngine ¶
func (*BlogContent) TableEngine() string
Click to show internal directories.
Click to hide internal directories.