<?php
/**
 * Created by PhpStorm.
 * User: jiuli
 * Date: 2018/3/25
 * Time: 下午5:37
 */

namespace Mainto\RpcServer\RpcAnnotations;

use Doctrine\Common\Annotations\Annotation;
use Doctrine\Common\Annotations\Annotation\Attribute;
use Doctrine\Common\Annotations\Annotation\Attributes;

/**
 * Class Alias
 * @package Mainto\RpcServer\RpcAnnotations
 *
 * @Annotation
 * @Target({"ALL"})
 *
 * @Attributes({
 *     @Attribute("name", type = "string"),
 * })
 */
class Alias {
    /**
     * 名称
     *
     * @Required
     * @var string
     */
    public string $name;
}