src/Entity/CRM/BhpParticipants.php line 10

  1. <?php
  2. namespace App\Entity\CRM;
  3. use App\Repository\BhpParticipantsRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassBhpParticipantsRepository::class)]
  7. class BhpParticipants
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $firstName null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $lastName null;
  17.     #[ORM\Column(typeTypes::DATE_MUTABLE)]
  18.     private ?\DateTimeInterface $birthDate null;
  19.     #[ORM\Column(length255)]
  20.     private ?string $specialization null;
  21.     #[ORM\ManyToOne(inversedBy'bhpParticipants')]
  22.     #[ORM\JoinColumn(nullablefalse)]
  23.     private ?BhpJournals $bhpJournal null;
  24.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  25.     private ?\DateTimeInterface $addedDate null;
  26.     #[ORM\Column]
  27.     private ?int $certificateNumber null;
  28.     public function getId(): ?int
  29.     {
  30.         return $this->id;
  31.     }
  32.     public function getFirstName(): ?string
  33.     {
  34.         return $this->firstName;
  35.     }
  36.     public function setFirstName(string $firstName): static
  37.     {
  38.         $this->firstName $firstName;
  39.         return $this;
  40.     }
  41.     public function getLastName(): ?string
  42.     {
  43.         return $this->lastName;
  44.     }
  45.     public function setLastName(string $lastName): static
  46.     {
  47.         $this->lastName $lastName;
  48.         return $this;
  49.     }
  50.     public function getBirthDate(): ?\DateTimeInterface
  51.     {
  52.         return $this->birthDate;
  53.     }
  54.     public function setBirthDate(\DateTimeInterface $birthDate): static
  55.     {
  56.         $this->birthDate $birthDate;
  57.         return $this;
  58.     }
  59.     public function getSpecialization(): ?string
  60.     {
  61.         return $this->specialization;
  62.     }
  63.     public function setSpecialization(string $specialization): static
  64.     {
  65.         $this->specialization $specialization;
  66.         return $this;
  67.     }
  68.     public function getBhpJournal(): ?BhpJournals
  69.     {
  70.         return $this->bhpJournal;
  71.     }
  72.     public function setBhpJournal(?BhpJournals $bhpJournal): static
  73.     {
  74.         $this->bhpJournal $bhpJournal;
  75.         return $this;
  76.     }
  77.     public function getAddedDate(): ?\DateTimeInterface
  78.     {
  79.         return $this->addedDate;
  80.     }
  81.     public function setAddedDate(\DateTimeInterface $addedDate): static
  82.     {
  83.         $this->addedDate $addedDate;
  84.         return $this;
  85.     }
  86.     public function getCertificateNumber(): ?int
  87.     {
  88.         return $this->certificateNumber;
  89.     }
  90.     public function setCertificateNumber(int $certificateNumber): static
  91.     {
  92.         $this->certificateNumber $certificateNumber;
  93.         return $this;
  94.     }
  95. }