Files
zhamao-framework/src/ZM/Annotation/CQ/CQAfter.php

40 lines
634 B
PHP
Raw Normal View History

2020-03-02 16:14:20 +08:00
<?php
namespace ZM\Annotation\CQ;
use Doctrine\Common\Annotations\Annotation\Target;
use ZM\Annotation\AnnotationBase;
2020-05-08 16:37:38 +08:00
use ZM\Annotation\Interfaces\Level;
2020-03-02 16:14:20 +08:00
/**
* Class CQAfter
* @Annotation
* @Target("METHOD")
* @package ZM\Annotation\CQ
*/
2020-05-08 16:37:38 +08:00
class CQAfter extends AnnotationBase implements Level
2020-03-02 16:14:20 +08:00
{
/**
* @var string
* @Required()
*/
public $cq_event;
2020-05-08 16:37:38 +08:00
public $level = 20;
/**
* @return mixed
*/
2021-04-06 01:19:56 +08:00
public function getLevel() {
2020-05-08 16:37:38 +08:00
return $this->level;
}
/**
* @param mixed $level
*/
public function setLevel($level) {
$this->level = $level;
}
}