RoleAction.php 548 B

12345678910111213141516171819
  1. <?php
  2. namespace app\admin\model;
  3. class RoleAction extends Base
  4. {
  5. //设置字段信息
  6. protected $schema = [
  7. 'id' =>'bigint',//
  8. 'role_id' =>'bigint',//角色id
  9. 'action_data' =>'text',//数据权限
  10. 'private_data' =>'text',//私有数据权限
  11. 'action_conllect' =>'text',//菜单权限
  12. 'private_field' =>'varchar',//字段显示
  13. 'status' =>'int',//状态
  14. 'addtime' =>'datetime',//
  15. 'updatetime' =>'datetime',//
  16. ];
  17. }