mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-06 01:52:48 +08:00
调整admin下的类库代码,将主要逻辑调整到extend下
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
namespace app\admin\service\annotation;
|
||||
|
||||
use base\admin\service\annotation\NodeAnotationClass;
|
||||
use Doctrine\Common\Annotations\Annotation\Attributes;
|
||||
|
||||
/**
|
||||
@@ -23,25 +24,6 @@ use Doctrine\Common\Annotations\Annotation\Attributes;
|
||||
* @Attribute("time", type = "int")
|
||||
* })
|
||||
*/
|
||||
final class NodeAnotation
|
||||
final class NodeAnotation extends NodeAnotationClass
|
||||
{
|
||||
/**
|
||||
* 节点名称.
|
||||
* @Required()
|
||||
* @var string
|
||||
*/
|
||||
public $title;
|
||||
|
||||
/**
|
||||
* 是否开启权限控制.
|
||||
* @Enum({true,false})
|
||||
* @var bool
|
||||
*/
|
||||
public $auth = true;
|
||||
|
||||
/**
|
||||
* 节点 一般无需设置.
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user