Documentation ¶
Index ¶
Constants ¶
const TableNameCmsHelp = "cms_help"
const TableNameCmsHelpCategory = "cms_help_category"
const TableNameCmsMemberReport = "cms_member_report"
const TableNameCmsPrefrenceArea = "cms_prefrence_area"
const TableNameCmsPrefrenceAreaProductRelation = "cms_prefrence_area_product_relation"
const TableNameCmsSubject = "cms_subject"
const TableNameCmsSubjectCategory = "cms_subject_category"
const TableNameCmsSubjectComment = "cms_subject_comment"
const TableNameCmsSubjectProductRelation = "cms_subject_product_relation"
const TableNameCmsTopic = "cms_topic"
const TableNameCmsTopicCategory = "cms_topic_category"
const TableNameCmsTopicComment = "cms_topic_comment"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmsHelp ¶
type CmsHelp struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CategoryID int64 `gorm:"column:category_id;not null" json:"category_id"` Icon string `gorm:"column:icon;not null" json:"icon"` Title string `gorm:"column:title;not null" json:"title"` ShowStatus int32 `gorm:"column:show_status;not null" json:"show_status"` CreateTime time.Time `gorm:"column:create_time;not null" json:"create_time"` ReadCount int32 `gorm:"column:read_count;not null" json:"read_count"` Content string `gorm:"column:content;not null" json:"content"` }
CmsHelp 帮助表
type CmsHelpCategory ¶
type CmsHelpCategory struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` Name string `gorm:"column:name;not null" json:"name"` Icon string `gorm:"column:icon;not null;comment:分类图标" json:"icon"` // 分类图标 HelpCount int32 `gorm:"column:help_count;not null;comment:专题数量" json:"help_count"` // 专题数量 ShowStatus int32 `gorm:"column:show_status;not null" json:"show_status"` Sort int32 `gorm:"column:sort;not null" json:"sort"` }
CmsHelpCategory 帮助分类表
func (*CmsHelpCategory) TableName ¶
func (*CmsHelpCategory) TableName() string
TableName CmsHelpCategory's table name
type CmsMemberReport ¶
type CmsMemberReport struct { ID int64 `gorm:"column:id;primaryKey" json:"id"` ReportType int32 `` // 举报类型:0->商品评价;1->话题内容;2->用户评论 /* 128-byte string literal not displayed */ ReportMemberName string `gorm:"column:report_member_name;not null;comment:举报人" json:"report_member_name"` // 举报人 CreateTime time.Time `gorm:"column:create_time;not null" json:"create_time"` ReportObject string `gorm:"column:report_object;not null" json:"report_object"` ReportStatus int32 `gorm:"column:report_status;not null;comment:举报状态:0->未处理;1->已处理" json:"report_status"` // 举报状态:0->未处理;1->已处理 HandleStatus int32 `gorm:"column:handle_status;not null;comment:处理结果:0->无效;1->有效;2->恶意" json:"handle_status"` // 处理结果:0->无效;1->有效;2->恶意 Note *string `gorm:"column:note" json:"note"` }
CmsMemberReport 用户举报表
func (*CmsMemberReport) TableName ¶
func (*CmsMemberReport) TableName() string
TableName CmsMemberReport's table name
type CmsPrefrenceArea ¶
type CmsPrefrenceArea struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` Name string `gorm:"column:name;not null" json:"name"` SubTitle string `gorm:"column:sub_title;not null" json:"sub_title"` Pic string `gorm:"column:pic;not null;comment:展示图片" json:"pic"` // 展示图片 Sort int32 `gorm:"column:sort;not null" json:"sort"` ShowStatus int32 `gorm:"column:show_status;not null" json:"show_status"` }
CmsPrefrenceArea 优选专区
func (*CmsPrefrenceArea) TableName ¶
func (*CmsPrefrenceArea) TableName() string
TableName CmsPrefrenceArea's table name
type CmsPrefrenceAreaProductRelation ¶
type CmsPrefrenceAreaProductRelation struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` PrefrenceAreaID int64 `gorm:"column:prefrence_area_id;not null" json:"prefrence_area_id"` ProductID int64 `gorm:"column:product_id;not null" json:"product_id"` }
CmsPrefrenceAreaProductRelation 优选专区和产品关系表
func (*CmsPrefrenceAreaProductRelation) TableName ¶
func (*CmsPrefrenceAreaProductRelation) TableName() string
TableName CmsPrefrenceAreaProductRelation's table name
type CmsSubject ¶
type CmsSubject struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CategoryID int64 `gorm:"column:category_id;not null" json:"category_id"` Title string `gorm:"column:title;not null" json:"title"` Pic string `gorm:"column:pic;not null;comment:专题主图" json:"pic"` // 专题主图 ProductCount int32 `gorm:"column:product_count;not null;comment:关联产品数量" json:"product_count"` // 关联产品数量 RecommendStatus int32 `gorm:"column:recommend_status;not null" json:"recommend_status"` CreateTime time.Time `gorm:"column:create_time;not null" json:"create_time"` CollectCount int32 `gorm:"column:collect_count;not null" json:"collect_count"` ReadCount int32 `gorm:"column:read_count;not null" json:"read_count"` CommentCount int32 `gorm:"column:comment_count;not null" json:"comment_count"` AlbumPics string `gorm:"column:album_pics;not null;comment:画册图片用逗号分割" json:"album_pics"` // 画册图片用逗号分割 Description *string `gorm:"column:description" json:"description"` ShowStatus int32 `gorm:"column:show_status;not null;comment:显示状态:0->不显示;1->显示" json:"show_status"` // 显示状态:0->不显示;1->显示 Content string `gorm:"column:content;not null" json:"content"` ForwardCount int32 `gorm:"column:forward_count;not null;comment:转发数" json:"forward_count"` // 转发数 CategoryName string `gorm:"column:category_name;not null;comment:专题分类名称" json:"category_name"` // 专题分类名称 }
CmsSubject 专题表
func (*CmsSubject) TableName ¶
func (*CmsSubject) TableName() string
TableName CmsSubject's table name
type CmsSubjectCategory ¶
type CmsSubjectCategory struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` Name string `gorm:"column:name;not null" json:"name"` Icon string `gorm:"column:icon;not null;comment:分类图标" json:"icon"` // 分类图标 SubjectCount int32 `gorm:"column:subject_count;not null;comment:专题数量" json:"subject_count"` // 专题数量 ShowStatus int32 `gorm:"column:show_status;not null" json:"show_status"` Sort int32 `gorm:"column:sort;not null" json:"sort"` }
CmsSubjectCategory 专题分类表
func (*CmsSubjectCategory) TableName ¶
func (*CmsSubjectCategory) TableName() string
TableName CmsSubjectCategory's table name
type CmsSubjectComment ¶
type CmsSubjectComment struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` SubjectID int64 `gorm:"column:subject_id;not null" json:"subject_id"` MemberNickName string `gorm:"column:member_nick_name;not null" json:"member_nick_name"` MemberIcon string `gorm:"column:member_icon;not null" json:"member_icon"` Content string `gorm:"column:content;not null" json:"content"` CreateTime time.Time `gorm:"column:create_time;not null" json:"create_time"` ShowStatus int32 `gorm:"column:show_status;not null" json:"show_status"` }
CmsSubjectComment 专题评论表
func (*CmsSubjectComment) TableName ¶
func (*CmsSubjectComment) TableName() string
TableName CmsSubjectComment's table name
type CmsSubjectProductRelation ¶
type CmsSubjectProductRelation struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` SubjectID int64 `gorm:"column:subject_id;not null" json:"subject_id"` ProductID int64 `gorm:"column:product_id;not null" json:"product_id"` }
CmsSubjectProductRelation 专题商品关系表
func (*CmsSubjectProductRelation) TableName ¶
func (*CmsSubjectProductRelation) TableName() string
TableName CmsSubjectProductRelation's table name
type CmsTopic ¶
type CmsTopic struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CategoryID int64 `gorm:"column:category_id;not null" json:"category_id"` Name string `gorm:"column:name;not null" json:"name"` CreateTime time.Time `gorm:"column:create_time;not null" json:"create_time"` StartTime time.Time `gorm:"column:start_time;not null" json:"start_time"` EndTime time.Time `gorm:"column:end_time;not null" json:"end_time"` AttendCount int32 `gorm:"column:attend_count;not null;comment:参与人数" json:"attend_count"` // 参与人数 AttentionCount int32 `gorm:"column:attention_count;not null;comment:关注人数" json:"attention_count"` // 关注人数 ReadCount int32 `gorm:"column:read_count;not null" json:"read_count"` AwardName string `gorm:"column:award_name;not null;comment:奖品名称" json:"award_name"` // 奖品名称 AttendType string `gorm:"column:attend_type;not null;comment:参与方式" json:"attend_type"` // 参与方式 Content string `gorm:"column:content;not null;comment:话题内容" json:"content"` // 话题内容 }
CmsTopic 话题表
type CmsTopicCategory ¶
type CmsTopicCategory struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` Name string `gorm:"column:name;not null" json:"name"` Icon string `gorm:"column:icon;not null;comment:分类图标" json:"icon"` // 分类图标 SubjectCount int32 `gorm:"column:subject_count;not null;comment:专题数量" json:"subject_count"` // 专题数量 ShowStatus int32 `gorm:"column:show_status;not null" json:"show_status"` Sort int32 `gorm:"column:sort;not null" json:"sort"` }
CmsTopicCategory 话题分类表
func (*CmsTopicCategory) TableName ¶
func (*CmsTopicCategory) TableName() string
TableName CmsTopicCategory's table name
type CmsTopicComment ¶
type CmsTopicComment struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` MemberNickName string `gorm:"column:member_nick_name;not null" json:"member_nick_name"` TopicID int64 `gorm:"column:topic_id;not null" json:"topic_id"` MemberIcon string `gorm:"column:member_icon;not null" json:"member_icon"` Content string `gorm:"column:content;not null" json:"content"` CreateTime time.Time `gorm:"column:create_time;not null" json:"create_time"` ShowStatus int32 `gorm:"column:show_status;not null" json:"show_status"` }
CmsTopicComment 专题评论表
func (*CmsTopicComment) TableName ¶
func (*CmsTopicComment) TableName() string
TableName CmsTopicComment's table name
Source Files ¶
- cms_help.gen.go
- cms_help_category.gen.go
- cms_member_report.gen.go
- cms_prefrence_area.gen.go
- cms_prefrence_area_product_relation.gen.go
- cms_subject.gen.go
- cms_subject_category.gen.go
- cms_subject_comment.gen.go
- cms_subject_product_relation.gen.go
- cms_topic.gen.go
- cms_topic_category.gen.go
- cms_topic_comment.gen.go