PermissionRoleModel.php 460 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * 权限角色模型.
  4. *
  5. * @author jim <jim458734573@gmail.com>
  6. * @date 2020-01-23 00:15:22
  7. */
  8. declare(strict_types=1);
  9. namespace App\Model;
  10. use Hyperf\ModelCache\Cacheable;
  11. use Hyperf\ModelCache\CacheableInterface;
  12. class PermissionRoleModel extends BaseModel implements CacheableInterface
  13. {
  14. // 使用自动缓存.
  15. use Cacheable;
  16. /**
  17. * 表名.
  18. *
  19. * @var string
  20. */
  21. protected $table = 'permission_role';
  22. }