<?php

namespace app\admin\attr;
use Attribute;

#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]
class Permission
{
    public $value;

    /**
     * __construct
     *
     * @param string $value 需要的权限
     */
    public function __construct($value)
    {
        $this->value = $value;
    }
}