123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package classify
- import "time"
- type Classify struct {
- Id int `gorm:"column:id" db:"id" json:"id" form:"id"`
- ClassifyName string `gorm:"column:classify_name" db:"classify_name" json:"classify_name" form:"classify_name"`
- Sort int8 `gorm:"column:sort" db:"sort" json:"sort" form:"sort"`
- ParentId int `gorm:"column:parent_id" db:"parent_id" json:"parent_id" form:"parent_id"`
- CreateTime time.Time `gorm:"column:create_time" db:"create_time" json:"create_time" form:"create_time"`
- ModifyTime time.Time `gorm:"column:modify_time" db:"modify_time" json:"modify_time" form:"modify_time"`
- Abstract string `gorm:"column:abstract" db:"abstract" json:"abstract" form:"abstract"`
- Descript string `gorm:"column:descript" db:"descript" json:"descript" form:"descript"`
- ReportAuthor string `gorm:"column:report_author" db:"report_author" json:"report_author" form:"report_author"`
- AuthorDescript string `gorm:"column:author_descript" db:"author_descript" json:"author_descript" form:"author_descript"`
- ReportImgUrl string `gorm:"column:report_img_url" db:"report_img_url" json:"report_img_url" form:"report_img_url"`
- HeadImgUrl string `gorm:"column:head_img_url" db:"head_img_url" json:"head_img_url" form:"head_img_url"`
- AvatarImgUrl string `gorm:"column:avatar_img_url" db:"avatar_img_url" json:"avatar_img_url" form:"avatar_img_url"`
- ColumnImgUrl string `gorm:"column:column_img_url" db:"column_img_url" json:"column_img_url" form:"column_img_url"`
- IsHomeColumn int8 `gorm:"column:is_home_column" db:"is_home_column" json:"is_home_column" form:"is_home_column"`
- HomeImgUrl string `gorm:"column:home_img_url" db:"home_img_url" json:"home_img_url" form:"home_img_url"`
- ClassifyLabel string `gorm:"column:classify_label" db:"classify_label" json:"classify_label" form:"classify_label"`
- ShowType uint8 `gorm:"column:show_type" db:"show_type" json:"show_type" form:"show_type"`
- HasTeleconference uint8 `gorm:"column:has_teleconference" db:"has_teleconference" json:"has_teleconference" form:"has_teleconference"`
- VipTitle string `gorm:"column:vip_title" db:"vip_title" json:"vip_title" form:"vip_title"`
- YbIconUrl string `gorm:"column:yb_icon_url" db:"yb_icon_url" json:"yb_icon_url" form:"yb_icon_url"`
- YbBgUrl string `gorm:"column:yb_bg_url" db:"yb_bg_url" json:"yb_bg_url" form:"yb_bg_url"`
- IsShow int8 `gorm:"column:is_show" db:"is_show" json:"is_show" form:"is_show"`
- YbFiccIcon string `gorm:"column:yb_ficc_icon" db:"yb_ficc_icon" json:"yb_ficc_icon" form:"yb_ficc_icon"`
- YbFiccPcIcon string `gorm:"column:yb_ficc_pc_icon" db:"yb_ficc_pc_icon" json:"yb_ficc_pc_icon" form:"yb_ficc_pc_icon"`
- YbFiccSort int `gorm:"column:yb_ficc_sort" db:"yb_ficc_sort" json:"yb_ficc_sort" form:"yb_ficc_sort"`
- YbListImg string `gorm:"column:yb_list_img" db:"yb_list_img" json:"yb_list_img" form:"yb_list_img"`
- YbShareBgImg string `gorm:"column:yb_share_bg_img;" db:"yb_share_bg_img" json:"yb_share_bg_img" form:"yb_share_bg_img"`
- YbRightBanner string `gorm:"column:yb_right_banner;" db:"yb_right_banner" json:"yb_right_banner" form:"yb_right_banner"`
- Level int `gorm:"column:level" db:"level" json:"level" form:"level"`
- HasChild int `gorm:"column:has_child" db:"has_child" json:"has_child" form:"has_child"`
- ReportDetailShowType uint8 `gorm:"column:report_detail_show_type" db:"report_detail_show_type" json:"report_detail_show_type" form:"report_detail_show_type"`
- }
- func (c *Classify) TableName() string {
- return "classify"
- }
|