feat:完善项目

This commit is contained in:
henry
2022-01-15 16:48:49 +08:00
parent 57daf5119d
commit 6d075dab4f
33 changed files with 196 additions and 154 deletions

View File

@ -9,7 +9,7 @@ import (
// UserCooperateEnterprise 用户企业数据模型管理
type UserCooperateEnterprise struct {
Model
Local
ModelTenant
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
Mode UserCooperateEnterpriseMode `gorm:"column:mode;type:int;default:0;comment:合作模式1已合作2想合作" json:"mode"`
Title string `gorm:"column:title;type:varchar(30);default:'';comment:企业名称" json:"title"`