2024-09-19 11:32:39 +08:00
|
|
|
<?php
|
|
|
|
|
|
2024-12-19 19:20:27 +08:00
|
|
|
namespace common\models\oldDb;
|
2024-09-19 11:32:39 +08:00
|
|
|
|
2024-12-19 19:20:27 +08:00
|
|
|
class AuthRole extends \common\modelsgii\oldDb\AuthRole
|
2024-09-19 11:32:39 +08:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
//关联权限
|
|
|
|
|
public function getAuthRule(){
|
|
|
|
|
return $this->hasOne(AuthRule::class,['id'=>'rule_id']);
|
|
|
|
|
}
|
|
|
|
|
}
|