feat:完善项目
This commit is contained in:
17
app/common/model/sys_tenant_auth.go
Normal file
17
app/common/model/sys_tenant_auth.go
Normal file
@ -0,0 +1,17 @@
|
||||
package model
|
||||
|
||||
type SysTenantAuth struct {
|
||||
Model
|
||||
ModelTenant
|
||||
AuthID uint64 `gorm:"column:auth_id;type:int;default:0;comment:权限ID" json:"-"`
|
||||
ModelDeleted
|
||||
ModelAt
|
||||
}
|
||||
|
||||
func (m *SysTenantAuth) TableName() string {
|
||||
return m.NewTableName("sys_tenant_auth")
|
||||
}
|
||||
|
||||
func NewSysTenantAuth() *SysTenantAuth {
|
||||
return &SysTenantAuth{}
|
||||
}
|
Reference in New Issue
Block a user