Files
MrleeAdmin/backend/app/model/system/RoleCasbin.php
T
2026-08-31 11:33:59 +08:00

42 lines
752 B
PHP

<?php
declare(strict_types=1);
/**
*+------------------
* madong
*+------------------
* Copyright (c) https://gitee.com/motion-code All rights reserved.
*+------------------
* Author: Mr. April (405784684@qq.com)
*+------------------
* Official Website: http://www.madong.cn
*/
namespace app\model\system;
use core\context\TenantContext;
use Illuminate\Database\Eloquent\Relations\Pivot;
/**
* 角色-关联策略表模型
*
* @author Mr.April
* @since 1.0
*/
class RoleCasbin extends Pivot
{
protected $table = 'sys_role_casbin';
/**
* 指示是否自动维护时间戳
*
* @var bool
*/
public $timestamps = false;
protected $fillable = [
'role_id',
'role_casbin_id',
];
}