Files
register/marko_unpacked/marko/cms/models/CmsRr.php
T
Admin Nasledstvo ac168868ee Initial import
2026-05-01 20:52:04 +03:00

21 lines
479 B
PHP

<?php
namespace app\models;
/**
* Class CmsRr
* @package app\models
* @property \app\models\CmsRoles $role
* @property \app\models\CmsRights $right
* @property int $role_id
* @property int $right_id
*/
class CmsRr extends _Base
{
public function getRole() {
return $this->hasOne(CmsRoles::class, ['id' => 'role_id']);
}
public function getRight() {
return $this->hasOne(CmsRights::class, ['id' => 'right_id']);
}
}