|
|
@@ -181,7 +181,7 @@ type GenTableColumn struct {
|
|
|
IsKey string `xorm:"is_key" json:"isKey"` // 1 0 注释:是否主键
|
|
|
IsIncrement string `xorm:"is_increment" json:"isIncrement"` // 1 0 注释:是否自增
|
|
|
IsRequired string `xorm:"is_required" json:"isRequired"` // 1 0 注释:是否未必填
|
|
|
- QueryType string `xorm:"query_type" json:"queryType"` // 1 0 注释:查询方式
|
|
|
+ QueryType string `xorm:"query_type" json:"queryType"` // 255 0 注释:查询方式
|
|
|
VueShowType string `xorm:"vue_show_type" json:"vueShowType"` // 255 0 注释:前端显示类型
|
|
|
DictType string `xorm:"dict_type" json:"dictType"` // 255 0 注释:字典类型
|
|
|
}
|
|
|
@@ -365,11 +365,13 @@ func (receiver ManageUser) String() string {
|
|
|
return fmt.Sprint("ManageUser{Id:", receiver.Id, ",Name:", receiver.Name, ",Username:", receiver.Username, ",Password:", receiver.Password, ",CreationTime:", receiver.CreationTime, ",LoginTime:", receiver.LoginTime, ",Status:", receiver.Status, ",RoleId:", receiver.RoleId, ",Phone:", receiver.Phone, ",Email:", receiver.Email, ",Avatar:", receiver.Avatar, "}")
|
|
|
}
|
|
|
|
|
|
-// ShopAdviceCarousel
|
|
|
+// ShopAdviceCarousel 商城广告
|
|
|
type ShopAdviceCarousel struct {
|
|
|
Id int64 `json:"id"` // 11 0 注释:
|
|
|
Name string `xorm:"name" json:"name"` // 255 0 注释:广告名称
|
|
|
+ ImageUrl string `xorm:"image_url" json:"imageUrl"` // 255 0 注释:图片
|
|
|
ToId int64 `xorm:"to_id" json:"toId"` // 11 0 注释:目标id
|
|
|
+ ToType string `xorm:"to_type" json:"toType"` // 255 0 注释:目标类型
|
|
|
AdviceType string `xorm:"advice_type" json:"adviceType"` // 255 0 注释:广告类型,用于跳转到对应的页面
|
|
|
Sort string `xorm:"sort" json:"sort"` // 255 0 注释:排序
|
|
|
State string `xorm:"state" json:"state"` // 255 0 注释:状态
|
|
|
@@ -381,7 +383,7 @@ type ShopAdviceCarousel struct {
|
|
|
}
|
|
|
|
|
|
func (receiver ShopAdviceCarousel) String() string {
|
|
|
- return fmt.Sprint("ShopAdviceCarousel{Id:", receiver.Id, ",Name:", receiver.Name, ",ToId:", receiver.ToId, ",AdviceType:", receiver.AdviceType, ",Sort:", receiver.Sort, ",State:", receiver.State, ",ShowType:", receiver.ShowType, ",CreateBy:", receiver.CreateBy, ",CreateTime:", receiver.CreateTime, ",UpdateBy:", receiver.UpdateBy, ",UpdateTime:", receiver.UpdateTime, "}")
|
|
|
+ return fmt.Sprint("ShopAdviceCarousel{Id:", receiver.Id, ",Name:", receiver.Name, ",ImageUrl:", receiver.ImageUrl, ",ToId:", receiver.ToId, ",ToType:", receiver.ToType, ",AdviceType:", receiver.AdviceType, ",Sort:", receiver.Sort, ",State:", receiver.State, ",ShowType:", receiver.ShowType, ",CreateBy:", receiver.CreateBy, ",CreateTime:", receiver.CreateTime, ",UpdateBy:", receiver.UpdateBy, ",UpdateTime:", receiver.UpdateTime, "}")
|
|
|
}
|
|
|
|
|
|
// ShopTopic 商品主题
|
|
|
@@ -399,7 +401,7 @@ func (receiver ShopTopic) String() string {
|
|
|
return fmt.Sprint("ShopTopic{Id:", receiver.Id, ",Sort:", receiver.Sort, ",ParentId:", receiver.ParentId, ",TopicPageImage:", receiver.TopicPageImage, ",TopicName:", receiver.TopicName, ",TopicDesc:", receiver.TopicDesc, ",TypeIds:", receiver.TypeIds, "}")
|
|
|
}
|
|
|
|
|
|
-// ShopTopicSku
|
|
|
+// ShopTopicSku 商城主题商品
|
|
|
type ShopTopicSku struct {
|
|
|
Id int64 `json:"id"` // 11 0 注释:
|
|
|
TopicId int64 `xorm:"topic_id" json:"topicId"` // 11 0 注释:
|