mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 20:54:52 +08:00
27 lines
416 B
PHP
27 lines
416 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
|
||
|
|
namespace ZM\Annotation\Command;
|
||
|
|
|
||
|
|
use Doctrine\Common\Annotations\Annotation\Required;
|
||
|
|
use Doctrine\Common\Annotations\Annotation\Target;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Class TerminalCommand
|
||
|
|
* @package ZM\Annotation\Command
|
||
|
|
* @Annotation
|
||
|
|
* @Target("METHOD")
|
||
|
|
*/
|
||
|
|
class TerminalCommand
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
* @Required()
|
||
|
|
*/
|
||
|
|
public $command;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*/
|
||
|
|
public $description = "";
|
||
|
|
}
|