Files
zhamao-framework/src/ZM/Annotation/CQ/CQMetaEvent.php
whale 4e43450c34 fix @Rule type annotation parse function error.
fix @RequestMapping parse tree error.
2020-03-05 12:03:14 +08:00

40 lines
757 B
PHP

<?php
namespace ZM\Annotation\CQ;
use Doctrine\Common\Annotations\Annotation\Required;
use Doctrine\Common\Annotations\Annotation\Target;
use ZM\Annotation\AnnotationBase;
use ZM\Annotation\Interfaces\Level;
/**
* Class CQMetaEvent
* @Annotation
* @Target("ALL")
* @package ZM\Annotation\CQ
*/
class CQMetaEvent extends AnnotationBase implements Level
{
/**
* @var string
* @Required()
*/
public $meta_event_type = '';
/** @var string */
public $sub_type = '';
/** @var int */
public $level;
/**
* @return mixed
*/
public function getLevel() { return $this->level; }
/**
* @param int $level
*/
public function setLevel(int $level) {
$this->level = $level;
}
}