Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BlogMgr *_BlogMgr
Functions ¶
func BlogAddInsertCallback ¶
func BlogAddInsertCallback(cb func(obj EzOrmObj))
func BlogAddUpdateCallback ¶
func BlogAddUpdateCallback(cb func(obj EzOrmObj))
func BlogInsertCallback ¶
func BlogInsertCallback(o *Blog)
func BlogUpdateCallback ¶
func BlogUpdateCallback(o *Blog)
Types ¶
type Blog ¶
type Blog struct { ID bson.ObjectId `json:"id" bson:"_id,omitempty"` Title string `bson:"title" json:"title"` Hits int32 `bson:"Hits" json:"Hits"` Slug string `bson:"Slug" json:"Slug"` Body string `bson:"Body" json:"Body"` CreateDate time.Time `bson:"createDate" json:"createDate"` User int32 `bson:"User" json:"User"` IsPublished bool `bson:"IsPublished" json:"IsPublished"` // contains filtered or unexported fields }
func (*Blog) GetClassName ¶
func (*Blog) GetNameSpace ¶
func (*Blog) InsertUnique ¶
func (*Blog) IsSearchEnabled ¶
Click to show internal directories.
Click to hide internal directories.