mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-08 17:25:35 +08:00
40 lines
634 B
PHP
40 lines
634 B
PHP
<?php
|
|
|
|
|
|
namespace ZM\Annotation\CQ;
|
|
|
|
use Doctrine\Common\Annotations\Annotation\Target;
|
|
use ZM\Annotation\AnnotationBase;
|
|
use ZM\Annotation\Interfaces\Level;
|
|
|
|
/**
|
|
* Class CQAfter
|
|
* @Annotation
|
|
* @Target("METHOD")
|
|
* @package ZM\Annotation\CQ
|
|
*/
|
|
class CQAfter extends AnnotationBase implements Level
|
|
{
|
|
/**
|
|
* @var string
|
|
* @Required()
|
|
*/
|
|
public $cq_event;
|
|
|
|
public $level = 20;
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getLevel() {
|
|
return $this->level;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $level
|
|
*/
|
|
public function setLevel($level) {
|
|
$this->level = $level;
|
|
}
|
|
}
|