Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Circle ¶
type Circle struct { BaseModel Pid uint64 `gorm:"not null;default:0" xorm:"bigint notnull default 0"` UserId uint64 `gorm:"not null;default:0" xorm:"bigint notnull default 0"` Header string `gorm:"null;type:varchar(128)" xorm:"varchar(128) null"` Title string `gorm:"null;type:varchar(128)" xorm:"varchar(128) null"` Content string `gorm:"null;type:text" xorm:"text null"` HeadUrl string `gorm:"null;type:text" xorm:"text null"` Remarks string `gorm:"null;type:text" xorm:"text null"` }
type CircleImage ¶
type CircleImage struct { BaseModel CircleId uint64 `gorm:"not null;default:0;column:cid" xorm:"bigint notnull default 0 'cid'"` UserId uint64 `gorm:"not null;default:0;column:uid" xorm:"bigint notnull default 0 'uid'"` BaseName string `gorm:"null;type:text" xorm:"text null"` Mime string `gorm:"null;type:text" xorm:"text null"` Size int64 `gorm:"not null;default:0" xorm:"bigint notnull default 0"` LocalPath string `gorm:"null;type:text" xorm:"text null"` Url string `gorm:"null;type:text" xorm:"text null"` }
func (CircleImage) TableName ¶
func (CircleImage) TableName() string
Click to show internal directories.
Click to hide internal directories.