src/Entity/ReCaptcha.php line 22

Open in your IDE?
  1. <?php
  2. /**
  3.  * UserStory class represents simple model of ReCaptcha entity
  4.  *
  5.  * $Project: Alliancemarkets2 $
  6.  * $Id$
  7.  *
  8.  * @package alliancemarkets2
  9.  * @author George Matyas <webexciter@yahoo.com>
  10.  * @version $Revision$
  11.  */
  12. // src/AppBundle/Entity/ReCaptcha.php
  13. namespace App\Entity;
  14. use Doctrine\ORM\Mapping as ORM;
  15. /**
  16.  * @ORM\Entity(repositoryClass="App\EntityRepo\ReCaptchaRepo")
  17.  * @ORM\Table(name="re_captcha")
  18.  */
  19. class ReCaptcha
  20. {
  21.     /**
  22.      * @ORM\Column(type="integer")
  23.      * @ORM\Id
  24.      * @ORM\GeneratedValue(strategy="AUTO")
  25.      */ 
  26.     private $reCaptchaId=0;
  27.     /**
  28.      * @ORM\Column(type="string", length=100)
  29.      */
  30.     protected $siteKey;
  31.     /**
  32.      * @ORM\Column(type="boolean", nullable=true)
  33.      */
  34.     protected $isActive;
  35.     public function getReCaptchaId(): ?int
  36.     {
  37.         return $this->reCaptchaId;
  38.     }
  39.     public function getSiteKey(): ?string
  40.     {
  41.         return $this->siteKey;
  42.     }
  43.     public function setSiteKey(string $siteKey): static
  44.     {
  45.         $this->siteKey $siteKey;
  46.         return $this;
  47.     }
  48.     public function isIsActive(): ?bool
  49.     {
  50.         return $this->isActive;
  51.     }
  52.     public function setIsActive(?bool $isActive): static
  53.     {
  54.         $this->isActive $isActive;
  55.         return $this;
  56.     }
  57. }