feat:完善入驻信息管理

This commit is contained in:
henry
2021-12-03 14:18:06 +08:00
parent 25ac50bb51
commit 851a2c1784
44 changed files with 192 additions and 190 deletions

View File

@ -10,13 +10,13 @@ type TechnologyPaper struct {
Model
Local
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
Title string `gorm:"column:title;type:varchar(100);default:null;comment:题目" json:"title"`
Ext string `gorm:"column:ext;type:varchar(30);default:null;comment:引用格式" json:"ext"`
Author string `gorm:"column:author;type:varchar(100);default:null;comment:作者" json:"author"`
Title string `gorm:"column:title;type:varchar(100);default:'';comment:题目" json:"title"`
Ext string `gorm:"column:ext;type:varchar(30);default:'';comment:引用格式" json:"ext"`
Author string `gorm:"column:author;type:varchar(100);default:'';comment:作者" json:"author"`
PublishAt time.Time `gorm:"column:publish_at;type:datetime;not null;comment:出版日期" json:"publish_at"`
Keyword string `gorm:"column:keyword;type:varchar(100);default:null;comment:关键词" json:"keyword"`
Tag string `gorm:"column:tags;type:varchar(255);default:null;comment:标签" json:"-"`
Remark string `gorm:"column:remark;type:varchar(255);default:null;comment:备注" json:"remark"`
Keyword string `gorm:"column:keyword;type:varchar(100);default:'';comment:关键词" json:"keyword"`
Tag string `gorm:"column:tags;type:varchar(255);default:'';comment:标签" json:"-"`
Remark string `gorm:"column:remark;type:varchar(255);default:'';comment:备注" json:"remark"`
ModelDeleted
ModelAt
}