mirror of
https://github.com/eiblog/eiblog.git
synced 2026-03-01 00:34:58 +08:00
chore: rename field name
This commit is contained in:
@@ -3,12 +3,12 @@ package model
|
||||
|
||||
// Blogger 博客信息
|
||||
type Blogger struct {
|
||||
BlogName string `gorm:"not null"` // 博客名
|
||||
SubTitle string `gorm:"not null"` // 子标题
|
||||
BeiAn string `gorm:"not null"` // 备案号
|
||||
BTitle string `gorm:"not null"` // 底部title
|
||||
Copyright string `gorm:"not null"` // 版权声明
|
||||
BlogName string `gorm:"column:blog_name;not null" bson:"blog_name"` // 博客名
|
||||
SubTitle string `gorm:"column:sub_title;not null" bson:"sub_title"` // 子标题
|
||||
BeiAn string `gorm:"column:bei_an;not null" bson:"bei_an"` // 备案号
|
||||
BTitle string `gorm:"column:b_title;not null" bson:"b_title"` // 底部title
|
||||
Copyright string `gorm:"column:copyright;not null" bson:"copyright"` // 版权声明
|
||||
|
||||
SeriesSay string `gorm:"not null"` // 专题说明
|
||||
ArchivesSay string `gorm:"not null"` // 归档说明
|
||||
SeriesSay string `gorm:"column:series_say;not null" bson:"series_say"` // 专题说明
|
||||
ArchiveSay string `gorm:"column:archive_say;not null" bson:"archive_say"` // 归档说明
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user