src/Entity/PotentialClient.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PotencialClientRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=PotencialClientRepository::class)
  7.  */
  8. class PotentialClient
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=Course::class, inversedBy="potentialClients")
  18.      * @ORM\JoinColumn(nullable=false)
  19.      */
  20.     private $course;
  21.     /**
  22.      * @ORM\ManyToOne(targetEntity=Group::class, inversedBy="potentialClients")
  23.      */
  24.     private $groups;
  25.     /**
  26.      * @ORM\Column(type="string", length=255, nullable=true)
  27.      */
  28.     private $student_name;
  29.     /**
  30.      * @ORM\Column(type="string", length=255)
  31.      */
  32.     private $student_surname;
  33.     /**
  34.      * @ORM\Column(type="string", length=255)
  35.      */
  36.     private $student_born_year;
  37.     /**
  38.      * @ORM\Column(type="string", length=255, nullable=true)
  39.      */
  40.     private $parent_name;
  41.     /**
  42.      * @ORM\Column(type="string", length=255, nullable=true)
  43.      */
  44.     private $parent_surname;
  45.     /**
  46.      * @ORM\Column(type="string", length=255)
  47.      */
  48.     private $phone;
  49.     /**
  50.      * @ORM\Column(type="string", length=255)
  51.      */
  52.     private $email;
  53.     /**
  54.      * @ORM\Column(type="integer")
  55.      */
  56.     private $email_verified;
  57.     public function getId(): ?int
  58.     {
  59.         return $this->id;
  60.     }
  61.     public function getCourse(): ?course
  62.     {
  63.         return $this->course;
  64.     }
  65.     public function setCourse(?course $course): self
  66.     {
  67.         $this->course $course;
  68.         return $this;
  69.     }
  70.     public function getGroups(): ?Group
  71.     {
  72.         return $this->groups;
  73.     }
  74.     public function setGroups(?Group $groups): self
  75.     {
  76.         $this->groups $groups;
  77.         return $this;
  78.     }
  79.     public function getStudentName(): ?string
  80.     {
  81.         return $this->student_name;
  82.     }
  83.     public function setStudentName(?string $student_name): self
  84.     {
  85.         $this->student_name $student_name;
  86.         return $this;
  87.     }
  88.     public function getStudentSurname(): ?string
  89.     {
  90.         return $this->student_surname;
  91.     }
  92.     public function setStudentSurname(string $student_surname): self
  93.     {
  94.         $this->student_surname $student_surname;
  95.         return $this;
  96.     }
  97.     public function getStudentBornYear(): ?string
  98.     {
  99.         return $this->student_born_year;
  100.     }
  101.     public function setStudentBornYear(string $student_born_year): self
  102.     {
  103.         $this->student_born_year $student_born_year;
  104.         return $this;
  105.     }
  106.     public function getParentName(): ?string
  107.     {
  108.         return $this->parent_name;
  109.     }
  110.     public function setParentName(?string $parent_name): self
  111.     {
  112.         $this->parent_name $parent_name;
  113.         return $this;
  114.     }
  115.     public function getParentSurname(): ?string
  116.     {
  117.         return $this->parent_surname;
  118.     }
  119.     public function setParentSurname(?string $parent_surname): self
  120.     {
  121.         $this->parent_surname $parent_surname;
  122.         return $this;
  123.     }
  124.     public function getPhone(): ?string
  125.     {
  126.         return $this->phone;
  127.     }
  128.     public function setPhone(string $phone): self
  129.     {
  130.         $this->phone $phone;
  131.         return $this;
  132.     }
  133.     public function getEmail(): ?string
  134.     {
  135.         return $this->email;
  136.     }
  137.     public function setEmail(string $email): self
  138.     {
  139.         $this->email $email;
  140.         return $this;
  141.     }
  142.     public function getEmailVerified(): ?int
  143.     {
  144.         return $this->email_verified;
  145.     }
  146.     public function setEmailVerified(int $email_verified): self
  147.     {
  148.         $this->email_verified $email_verified;
  149.         return $this;
  150.     }
  151. }