|
@@ -19,9 +19,9 @@ type WechatArticle struct {
|
|
|
Content string `gorm:"column:content;type:longtext;comment:报告详情;" description:"报告详情"`
|
|
|
TextContent string `gorm:"column:text_content;type:text;comment:文本内容;" description:"文本内容"`
|
|
|
Abstract string `gorm:"column:abstract;type:text;comment:摘要;" description:"摘要"`
|
|
|
- Country string `gorm:"column:country;type:varchar(255);comment:国家;" json:"country"` // 国家
|
|
|
- Province string `gorm:"column:province;type:varchar(255);comment:省;" json:"province"` // 省
|
|
|
- City string `gorm:"column:city;type:varchar(255);comment:市;" json:"city"` // 市
|
|
|
+ Country string `gorm:"column:country;type:varchar(255);comment:国家;" description:"国家"`
|
|
|
+ Province string `gorm:"column:province;type:varchar(255);comment:省;" description:"省"`
|
|
|
+ City string `gorm:"column:city;type:varchar(255);comment:市;" description:"市"`
|
|
|
ArticleCreateTime time.Time `gorm:"column:article_create_time;type:datetime;comment:报告创建时间;default:NULL;" description:"报告创建时间"`
|
|
|
IsDeleted int `gorm:"column:is_deleted;type:tinyint(4);comment:是否删除,0:未删除,1: 已删除;default:0;" description:"是否删除,0:未删除,1: 已删除"`
|
|
|
ModifyTime time.Time `gorm:"column:modify_time;type:datetime;comment:修改时间;default:NULL;" description:"修改时间"`
|
|
@@ -83,9 +83,9 @@ type WechatArticleView struct {
|
|
|
Content string `gorm:"column:content;type:longtext;comment:报告详情;" description:"报告详情"`
|
|
|
TextContent string `gorm:"column:text_content;type:text;comment:文本内容;" description:"文本内容"`
|
|
|
Abstract string `gorm:"column:abstract;type:text;comment:摘要;" description:"摘要"`
|
|
|
- Country string `gorm:"column:country;type:varchar(255);comment:国家;" json:"country"` // 国家
|
|
|
- Province string `gorm:"column:province;type:varchar(255);comment:省;" json:"province"` // 省
|
|
|
- City string `gorm:"column:city;type:varchar(255);comment:市;" json:"city"` // 市
|
|
|
+ Country string `gorm:"column:country;type:varchar(255);comment:国家;" description:"国家"`
|
|
|
+ Province string `gorm:"column:province;type:varchar(255);comment:省;" description:"省"`
|
|
|
+ City string `gorm:"column:city;type:varchar(255);comment:市;" description:"市"`
|
|
|
ArticleCreateTime string `gorm:"column:article_create_time;type:datetime;comment:报告创建时间;default:NULL;" description:"报告创建时间"`
|
|
|
ModifyTime string `gorm:"column:modify_time;type:datetime;comment:修改时间;default:NULL;" description:"修改时间"`
|
|
|
CreateTime string `gorm:"column:create_time;type:datetime;comment:入库时间;default:NULL;" description:"入库时间"`
|