src/Entity/ContactConfig.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ContactConfigRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=ContactConfigRepository::class)
  7.  */
  8. class ContactConfig
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="text")
  18.      */
  19.     private $message;
  20.     /**
  21.      * @ORM\Column(type="boolean")
  22.      */
  23.     private $isActivated false;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     /**
  29.      * @return bool|null
  30.      */
  31.     public function getIsActivated(): ?bool
  32.     {
  33.         return $this->isActivated;
  34.     }
  35.     /**
  36.      * @param bool $isActivated
  37.      * @return $this
  38.      */
  39.     public function setIsActivated(bool $isActivated): self
  40.     {
  41.         $this->isActivated $isActivated;
  42.         return $this;
  43.     }
  44.     public function getMessage(): ?string
  45.     {
  46.         return $this->message;
  47.     }
  48.     public function setMessage(string $message): self
  49.     {
  50.         $this->message $message;
  51.         return $this;
  52.     }
  53. }