feat:完善信息

This commit is contained in:
henry
2021-10-12 14:47:50 +08:00
parent 142cbcf5ae
commit 42eae2373d
3 changed files with 87 additions and 144 deletions

View File

@ -6,6 +6,7 @@ import (
"time"
)
// UserTenant 用户租户信息
type UserTenant struct {
Model
ModelTenant
@ -43,6 +44,10 @@ func (m *UserTenant) BeforeCreate(db *gorm.DB) error {
return nil
}
func (m *UserTenant) GetOtherAttribute() {
}
func NewUserTenant() *UserTenant {
return &UserTenant{}
}