重新修改主业务逻辑的命名规则

This commit is contained in:
2023-09-23 17:48:36 +08:00
parent bee15dfea6
commit 44edefb37b
82 changed files with 264 additions and 118 deletions

View File

@@ -0,0 +1,47 @@
<?php
// +----------------------------------------------------------------------
// | EasyAdmin
// +----------------------------------------------------------------------
// | PHP交流群: 763822524
// +----------------------------------------------------------------------
// | 开源协议 https://mit-license.org
// +----------------------------------------------------------------------
// | github开源项目https://github.com/zhongshaofa/EasyAdmin
// +----------------------------------------------------------------------
namespace base\admin\service\annotation;
use Doctrine\Common\Annotations\Annotation\Attributes;
use Doctrine\Common\Annotations\Annotation\Required;
use Doctrine\Common\Annotations\Annotation\Target;
/**
* Class ControllerAnnotation.
*
* @Annotation
* @Target("CLASS")
* @Attributes({
* @Attribute("title", type="string"),
* })
*
* @since 2.0
*/
class ControllerAnnotationBase
{
/**
* Route group prefix for the controller.
*
* @Required()
*
* @var string
*/
public $title = '';
/**
* 是否开启权限控制.
* @Enum({true,false})
* @var bool
*/
public $auth = true;
}