package datamodel import "time" type Art struct { OcId int64 `json:"ocId" xorm:"'oc_id' bigint pk comment('OC ID') "` ArtId int64 `json:"artId" xorm:"'art_id' bigint pk comment('ArtId') "` ArtCatId int64 `json:"artCatId" xorm:"'art_cat_id' bigint pk comment('ArtCatId') "` ArtTitle string `json:"artTitle" xorm:"'art_title' varchar(127) comment('ArtTitle') "` ArtContent string `json:"artContent" xorm:"'art_content' varchar(127) comment('Content') "` ArtAuthor string `json:"artAuthor" xorm:"'art_author' varchar(127) comment('Content') "` ArtSource string `json:"artSource" xorm:"'art_source' varchar(127) comment('Content') "` Status int64 `json:"status" xorm:"'status' bigint comment('Status') "` EditorId int64 `json:"editorId" xorm:"'editor_id' bigint comment('EditorId') "` IssuedAt time.Time `json:"issuedAt" xorm:"'issued_at' datetime comment('Datetime') "` IsFixed int64 `json:"isFixed" xorm:"'is_fixed' bigint comment('是否可修改') "` CreatedBy int64 `json:"createdBy" xorm:"'created_by'"` CreatedAt time.Time `json:"createdAt" xorm:"'created_at'"` UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by'"` UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at'"` DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'"` DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by'"` DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at'"` } func (t *Art) TableName() string { return "art" }