初始化
This commit is contained in:
14
addons/webman/model/AdminRoleDepartment.php
Normal file
14
addons/webman/model/AdminRoleDepartment.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace addons\webman\model;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class AdminRoleDepartment extends Model
|
||||
{
|
||||
public function __construct(array $attributes = [])
|
||||
{
|
||||
parent::__construct($attributes);
|
||||
$this->setTable(plugin()->webman->config('database.role_department_table'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user