namespace Wallabag\ApiBundle\Entity;
-use FOS\OAuthServerBundle\Entity\Client as BaseClient;
use Doctrine\ORM\Mapping as ORM;
+use FOS\OAuthServerBundle\Entity\Client as BaseClient;
/**
* @ORM\Table("oauth2_clients")
*/
protected $id;
+ /**
+ * @var string
+ *
+ * @ORM\Column(name="title", type="text", nullable=true)
+ */
+ protected $name;
+
public function __construct()
{
parent::__construct();
}
+
+ /**
+ * Get name.
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Set name.
+ *
+ * @param string $name
+ *
+ * @return Client
+ */
+ public function setName($name)
+ {
+ $this->name = $name;
+
+ return $this;
+ }
}