| 123456789101112131415161718192021222324252627282930313233 |
- package viewmodel
- import (
- "time"
- )
- type ArtDetailInfo 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') "`
- ArtCatTitle string `json:"artCatTitle" xorm:"'art_cat_title' varchar(127) comment('ArtTitle') "`
-
- 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') "`
-
-
- IssuedAt time.Time `json:"issuedAt" xorm:"'issued_at' datetime comment('Datetime') "`
- IsFixed int64 `json:"isFixed" xorm:"'is_fixed' bigint comment('是否可修改') "`
-
- EditorId int64 `json:"editorId" xorm:"'editor_id' bigint comment('EditorId') "`
- EditorName string `json:"editorName" xorm:"'editor_name' varchar(127) comment('Content') "`
-
- Status int64 `json:"status" xorm:"'status' bigint comment('Status') "`
- AttachList []AttachInfo
- }
- func (t *ArtDetailInfo) TableName() string {
- return "art"
- }
|