feat:完善信息
This commit is contained in:
@ -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{}
|
||||
}
|
||||
|
Reference in New Issue
Block a user