| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- namespace app\admin\model;
- use app\common\model\BaseModel;
- class PermissionsAccess extends BaseModel
- {
- /**
- * @var string
- */
- protected $name = 'system_permissions_access';
- /**
- * @var bool 自模型关闭软删除
- */
- protected $deleteTime = false;
- /**
- * @var array
- */
- protected $auto = [];
- /**
- * @var array
- */
- protected $type = [
- 'id' => 'integer',
- 'ptype' => 'string',
- 'v0' => 'string',
- 'v1' => 'string',
- 'v2' => 'string',
- 'v3' => 'string',
- 'v4' => 'string',
- 'v5' => 'string',
- ];
- /**
- * 模型事件定义
- *
- * @author 许祖兴 < zuxing.xu@lettered.cn>
- *
- * @return void
- * @date 2020/3/26 20:54
- *
- */
- public static function init()
- {
- self::event('before_insert', function ($before) {
- });
- }
- }
|