<?php
namespace App\Entity;
use App\Repository\PotencialClientRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=PotencialClientRepository::class)
*/
class PotentialClient
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=Course::class, inversedBy="potentialClients")
* @ORM\JoinColumn(nullable=false)
*/
private $course;
/**
* @ORM\ManyToOne(targetEntity=Group::class, inversedBy="potentialClients")
*/
private $groups;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $student_name;
/**
* @ORM\Column(type="string", length=255)
*/
private $student_surname;
/**
* @ORM\Column(type="string", length=255)
*/
private $student_born_year;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $parent_name;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $parent_surname;
/**
* @ORM\Column(type="string", length=255)
*/
private $phone;
/**
* @ORM\Column(type="string", length=255)
*/
private $email;
/**
* @ORM\Column(type="integer")
*/
private $email_verified;
public function getId(): ?int
{
return $this->id;
}
public function getCourse(): ?course
{
return $this->course;
}
public function setCourse(?course $course): self
{
$this->course = $course;
return $this;
}
public function getGroups(): ?Group
{
return $this->groups;
}
public function setGroups(?Group $groups): self
{
$this->groups = $groups;
return $this;
}
public function getStudentName(): ?string
{
return $this->student_name;
}
public function setStudentName(?string $student_name): self
{
$this->student_name = $student_name;
return $this;
}
public function getStudentSurname(): ?string
{
return $this->student_surname;
}
public function setStudentSurname(string $student_surname): self
{
$this->student_surname = $student_surname;
return $this;
}
public function getStudentBornYear(): ?string
{
return $this->student_born_year;
}
public function setStudentBornYear(string $student_born_year): self
{
$this->student_born_year = $student_born_year;
return $this;
}
public function getParentName(): ?string
{
return $this->parent_name;
}
public function setParentName(?string $parent_name): self
{
$this->parent_name = $parent_name;
return $this;
}
public function getParentSurname(): ?string
{
return $this->parent_surname;
}
public function setParentSurname(?string $parent_surname): self
{
$this->parent_surname = $parent_surname;
return $this;
}
public function getPhone(): ?string
{
return $this->phone;
}
public function setPhone(string $phone): self
{
$this->phone = $phone;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function getEmailVerified(): ?int
{
return $this->email_verified;
}
public function setEmailVerified(int $email_verified): self
{
$this->email_verified = $email_verified;
return $this;
}
}