Files
zhamao-framework/src/ZM/Annotation/CQ/CQMetaEvent.php
crazywhalecc b0054d7884 update docs
2020-12-23 16:14:59 +08:00

38 lines
707 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 int */
public $level;
/**
* @return mixed
*/
public function getLevel() { return $this->level; }
/**
* @param int $level
*/
public function setLevel(int $level) {
$this->level = $level;
}
}