src/Entity/Gos/FastLead.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use App\Repository\Gos\FastLeadRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=FastLeadRepository::class)
  7.  */
  8. class FastLead
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255)
  18.      */
  19.     private $hash;
  20.     /**
  21.      * @ORM\ManyToOne(targetEntity=User::class)
  22.      * @ORM\JoinColumn(nullable=false)
  23.      */
  24.     private $user;
  25.     /**
  26.      * @ORM\ManyToOne(targetEntity=FastLeadTemplate::class, inversedBy="fastLeads")
  27.      * @ORM\JoinColumn(nullable=false)
  28.      */
  29.     private $fastLeadTemplate;
  30.     /**
  31.      * @ORM\Column(type="boolean", options={"default":0})
  32.      */
  33.     private $isCompleted;
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getHash(): ?string
  39.     {
  40.         return $this->hash;
  41.     }
  42.     public function setHash(string $hash): self
  43.     {
  44.         $this->hash $hash;
  45.         return $this;
  46.     }
  47.     public function getUser(): ?User
  48.     {
  49.         return $this->user;
  50.     }
  51.     public function setUser(?User $user): self
  52.     {
  53.         $this->user $user;
  54.         return $this;
  55.     }
  56.     public function getFastLeadTemplate(): ?FastLeadTemplate
  57.     {
  58.         return $this->fastLeadTemplate;
  59.     }
  60.     public function setFastLeadTemplate(?FastLeadTemplate $fastLeadTemplate): self
  61.     {
  62.         $this->fastLeadTemplate $fastLeadTemplate;
  63.         return $this;
  64.     }
  65.     public function getIsCompleted(): ?bool
  66.     {
  67.         return $this->isCompleted;
  68.     }
  69.     public function setIsCompleted(bool $isCompleted): self
  70.     {
  71.         $this->isCompleted $isCompleted;
  72.         return $this;
  73.     }
  74. }