src/Entity/ContactParticipationPlaceExpert.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ContactParticipationPlaceExpertRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassContactParticipationPlaceExpertRepository::class)]
  6. class ContactParticipationPlaceExpert
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length255)]
  13.     private $firstname;
  14.     #[ORM\Column(type'string'length255)]
  15.     private $phone;
  16.     #[ORM\Column(type'string'length255)]
  17.     private $email;
  18.     #[ORM\Column(type'string'length255)]
  19.     private $linkLinkedin;
  20.     #[ORM\Column(type'string'length255)]
  21.     private $expertise;
  22.     #[ORM\ManyToOne(targetEntityAccountingFirm::class, inversedBy'contactParticipationPlaceExperts')]
  23.     #[ORM\JoinColumn(nullablefalse)]
  24.     private $accountingFirm;
  25.     #[ORM\Column(type'datetime_immutable')]
  26.     private $createdAt;
  27.     #[ORM\Column(type'boolean')]
  28.     private $rgpd;
  29.     public function getId(): ?int
  30.     {
  31.         return $this->id;
  32.     }
  33.     public function getFirstname(): ?string
  34.     {
  35.         return $this->firstname;
  36.     }
  37.     public function setFirstname(string $firstname): self
  38.     {
  39.         $this->firstname $firstname;
  40.         return $this;
  41.     }
  42.     public function getPhone(): ?string
  43.     {
  44.         return $this->phone;
  45.     }
  46.     public function setPhone(string $phone): self
  47.     {
  48.         $this->phone $phone;
  49.         return $this;
  50.     }
  51.     public function getEmail(): ?string
  52.     {
  53.         return $this->email;
  54.     }
  55.     public function setEmail(string $email): self
  56.     {
  57.         $this->email $email;
  58.         return $this;
  59.     }
  60.     public function getLinkLinkedin(): ?string
  61.     {
  62.         return $this->linkLinkedin;
  63.     }
  64.     public function setLinkLinkedin(string $linkLinkedin): self
  65.     {
  66.         $this->linkLinkedin $linkLinkedin;
  67.         return $this;
  68.     }
  69.     public function getExpertise(): ?string
  70.     {
  71.         return $this->expertise;
  72.     }
  73.     public function setExpertise(string $expertise): self
  74.     {
  75.         $this->expertise $expertise;
  76.         return $this;
  77.     }
  78.     public function getAccountingFirm(): ?AccountingFirm
  79.     {
  80.         return $this->accountingFirm;
  81.     }
  82.     public function setAccountingFirm(?AccountingFirm $accountingFirm): self
  83.     {
  84.         $this->accountingFirm $accountingFirm;
  85.         return $this;
  86.     }
  87.     public function getCreatedAt(): ?\DateTimeImmutable
  88.     {
  89.         return $this->createdAt;
  90.     }
  91.     public function setCreatedAt(\DateTimeImmutable $createdAt): self
  92.     {
  93.         $this->createdAt $createdAt;
  94.         return $this;
  95.     }
  96.     public function isRgpd(): ?bool
  97.     {
  98.         return $this->rgpd;
  99.     }
  100.     public function setRgpd(bool $rgpd): self
  101.     {
  102.         $this->rgpd $rgpd;
  103.         return $this;
  104.     }
  105. }