12345678910111213141516171819 |
- <?php
- namespace app\admin\model;
- class RoleAction extends Base
- {
- //设置字段信息
- protected $schema = [
- 'id' =>'bigint',//
- 'role_id' =>'bigint',//角色id
- 'action_data' =>'text',//数据权限
- 'private_data' =>'text',//私有数据权限
- 'action_conllect' =>'text',//菜单权限
- 'private_field' =>'varchar',//字段显示
- 'status' =>'int',//状态
- 'addtime' =>'datetime',//
- 'updatetime' =>'datetime',//
- ];
- }
|