feat:完善项目

This commit is contained in:
henry
2022-01-15 15:20:59 +08:00
parent c5fb6023f3
commit 57daf5119d
7 changed files with 201 additions and 8 deletions

View File

@ -8,7 +8,7 @@ import (
// TechnologyPaper 科技论文数据模型
type TechnologyPaper struct {
Model
Local
ModelTenant
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
Title string `gorm:"column:title;type:varchar(100);default:'';comment:题目" json:"title"`
Ext string `gorm:"column:ext;type:varchar(30);default:'';comment:引用格式" json:"ext"`