代码拉取完成,页面将自动刷新
同步操作将从 pixel/gin-vue-admin 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
// 自动生成模板FdArticleVideo
package hierarchy
import (
"gitee.com/g-qs/gin-vue-admin/server/global"
)
// FdArticleVideo 结构体
type FdArticleVideo struct {
global.GVA_MODEL
LevelOneID *int `json:"levelOneID" form:"levelOneID" gorm:"column:level_one_id;comment:类别id tips:用于记录所属分类1;size:10;"`
LevelOne *LevelOne `json:"levelOne" form:"levelOne" gorm:"foreignKey:LevelOneID;references:ID;comment:;"`
LevelTwoID *int `json:"levelTwoID" form:"levelTwoID" gorm:"column:level_two_id;comment:;size:19;"`
LevelTwo *LevelTwo `json:"levelTwo" form:"levelTwo" gorm:"foreignKey:LevelTwoID;references:ID;comment:;"`
LevelThreeID *int `json:"levelThreeID" form:"levelThreeID" gorm:"column:level_three_id;comment:三级标识;"`
LevelThree *LevelThree `json:"levelThree" form:"levelThree" gorm:"foreignKey:LevelThreeID;references:ID;comment:;"`
FdArticleLike *FdArticleLike `json:"-" form:"-" gorm:"->;foreignKey:FdArticleID;references:ID;comment:;"`
FdArticleCollect *FdArticleCollect `json:"-" form:"-" gorm:"->;foreignKey:FdArticleID;references:ID;comment:;"`
Title string `json:"title" form:"title" gorm:"column:title;comment:标题;size:191;"`
Briefly string `json:"briefly" form:"briefly" gorm:"column:briefly;comment:简介;size:191;"`
Cover string `json:"cover" form:"cover" gorm:"column:cover;comment:封面;size:191;"`
VideoLink string `json:"videoLink" form:"videoLink" gorm:"column:video_link;comment:视频链接;size:191;"`
Text string `json:"text" form:"text" gorm:"column:text;comment:训练器械;size:191;"`
Textt string `json:"textt" form:"textt" gorm:"column:textt;comment:使用要点;type:text;"`
Texttt string `json:"texttt" form:"texttt" gorm:"column:texttt;comment:使用须知;type:text;"`
Details string `json:"details" form:"details" gorm:"column:details;comment:详情;type:text;"`
Status *bool `json:"status" form:"status" gorm:"column:status;comment:状态 1上架 2下架;"`
IsVip *bool `json:"isVip" form:"isVip" gorm:"column:is_vip;comment:是否vip可看 1是 2不是;"`
PV int `json:"pv" form:"pv" gorm:"column:pv;comment:浏览量;size:19;"`
SearchNumber int `json:"searchNumber" form:"searchNumber" gorm:"column:search_number;comment:搜索量;size:19;"`
PraiseNum int `json:"praiseNum" form:"praiseNum" gorm:"column:praise_num;comment:点赞量;size:19;"`
CollectNum int `json:"collectNum" form:"collectNum" gorm:"column:collect_num;comment:收藏量;size:19;"`
ForwardNum int `json:"forwardNum" form:"forwardNum" gorm:"column:forward_num;comment:转发量;size:19;"`
CommentNum int `json:"comment_num" form:"comment_num" gorm:"column:comment_num;comment:评论量;size:19;"`
IsPraise bool `json:"isPraise" form:"isPraise" gorm:"-"`
IsCollect bool `json:"isCollect" form:"isCollect" gorm:"-"`
}
type ResArticleVideo struct {
global.GVA_MODEL
LevelOneID *int `json:"levelOneID" form:"levelOneID" gorm:"column:level_one_id;comment:类别id tips:用于记录所属分类1;size:10;"`
LevelOne *LevelOne `json:"levelOne" form:"levelOne" gorm:"foreignKey:LevelOneID;references:ID;comment:;"`
LevelTwoID *int `json:"levelTwoID" form:"levelTwoID" gorm:"column:level_two_id;comment:;size:19;"`
LevelTwo *LevelTwo `json:"levelTwo" form:"levelTwo" gorm:"foreignKey:LevelTwoID;references:ID;comment:;"`
LevelThreeID *int `json:"levelThreeID" form:"levelThreeID" gorm:"column:level_three_id;comment:三级标识;"`
LevelThree *LevelThree `json:"levelThree" form:"levelThree" gorm:"foreignKey:LevelThreeID;references:ID;comment:;"`
FdArticleLike *FdArticleLike `json:"-" form:"-" gorm:"->;foreignKey:FdArticleID;references:ID;comment:;"`
FdArticleCollect *FdArticleCollect `json:"-" form:"-" gorm:"->;foreignKey:FdArticleID;references:ID;comment:;"`
Title string `json:"title" form:"title" gorm:"column:title;comment:标题;size:191;"`
Briefly string `json:"briefly" form:"briefly" gorm:"column:briefly;comment:简介;size:191;"`
Cover string `json:"cover" form:"cover" gorm:"column:cover;comment:封面;size:191;"`
VideoLink string `json:"videoLink" form:"videoLink" gorm:"column:video_link;comment:视频链接;size:191;"`
Text string `json:"text" form:"text" gorm:"column:text;comment:训练器械;size:191;"`
Textt string `json:"textt" form:"textt" gorm:"column:textt;comment:使用要点;type:text;"`
Texttt string `json:"texttt" form:"texttt" gorm:"column:texttt;comment:使用须知;type:text;"`
Details string `json:"details" form:"details" gorm:"column:details;comment:详情;type:text;"`
Status *bool `json:"status" form:"status" gorm:"column:status;comment:状态 1上架 2下架;"`
IsVip *bool `json:"isVip" form:"isVip" gorm:"column:is_vip;comment:是否vip可看 1是 2不是;"`
PV string `json:"pv" form:"pv" gorm:"column:pv;comment:浏览量;size:19;"`
SearchNumber int `json:"searchNumber" form:"searchNumber" gorm:"column:search_number;comment:搜索量;size:19;"`
PraiseNum string `json:"praiseNum" form:"praiseNum" gorm:"column:praise_num;comment:点赞量;size:19;"`
CollectNum int `json:"collectNum" form:"collectNum" gorm:"column:collect_num;comment:收藏量;size:19;"`
ForwardNum int `json:"forwardNum" form:"forwardNum" gorm:"column:forward_num;comment:转发量;size:19;"`
CommentNum int `json:"comment_num" form:"comment_num" gorm:"column:comment_num;comment:评论量;size:19;"`
IsPraise bool `json:"isPraise" form:"isPraise" gorm:"-"`
IsCollect bool `json:"isCollect" form:"isCollect" gorm:"-"`
}
// TableName FdArticleVideo 表名
func (FdArticleVideo) TableName() string {
return "fd_article_video"
}
// TableName FdArticleVideo 表名
func (ResArticleVideo) TableName() string {
return "fd_article_video"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。