feat:完善项目管理

This commit is contained in:
henry
2021-12-13 11:22:19 +08:00
parent b9cc39d37a
commit a512713ba6
8 changed files with 39 additions and 13 deletions

View File

@ -0,0 +1,18 @@
package model
// ManageExpertCollect 专家收藏数据模型
type ManageExpertCollect struct {
Model
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
ExpertID uint64 `gorm:"column:expert_id;type:int(11);default:0;comment:专家ID" json:"-"`
ModelDeleted
ModelAt
}
func (m *ManageExpertCollect) TableName() string {
return "manage_expert_collect"
}
func NewManageExpertCollect() *ManageExpertCollect {
return &ManageExpertCollect{}
}