<?php
/**
* UserStory class represents simple model of ReCaptcha entity
*
* $Project: Alliancemarkets2 $
* $Id$
*
* @package alliancemarkets2
* @author George Matyas <webexciter@yahoo.com>
* @version $Revision$
*/
// src/AppBundle/Entity/ReCaptcha.php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\EntityRepo\ReCaptchaRepo")
* @ORM\Table(name="re_captcha")
*/
class ReCaptcha
{
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $reCaptchaId=0;
/**
* @ORM\Column(type="string", length=100)
*/
protected $siteKey;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
protected $isActive;
public function getReCaptchaId(): ?int
{
return $this->reCaptchaId;
}
public function getSiteKey(): ?string
{
return $this->siteKey;
}
public function setSiteKey(string $siteKey): static
{
$this->siteKey = $siteKey;
return $this;
}
public function isIsActive(): ?bool
{
return $this->isActive;
}
public function setIsActive(?bool $isActive): static
{
$this->isActive = $isActive;
return $this;
}
}