src/Entity/AttestationTmp.php line 12

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\AttestationTmpRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\DBAL\Types\Types;
  7. use Doctrine\ORM\Mapping as ORM;
  8. #[ORM\Entity(repositoryClassAttestationTmpRepository::class)]
  9. class AttestationTmp
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(length255nullabletrue)]
  16.     private ?string $firstname null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $lastname null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $mail null;
  21.     #[ORM\Column(length255)]
  22.     private ?string $theme null;
  23.     #[ORM\Column(length255nullabletrue)]
  24.     private ?string $title null;
  25.     #[ORM\Column(typeTypes::SMALLINT)]
  26.     private ?int $status null;
  27.     #[ORM\Column(type'datetime'nullabletrue)]
  28.     private $createdAt;
  29.     #[ORM\Column(type'datetime'nullabletrue)]
  30.     private $updatedAt;
  31.     #[ORM\ManyToOne(targetEntityEvenement::class)] // , inversedBy: 'inscriptions'
  32.     #[ORM\JoinColumn(nullabletrue)]
  33.     private ?Evenement $evenement null;
  34.     public function __construct()
  35.     {
  36.     }
  37.     public function getId(): ?int
  38.     {
  39.         return $this->id;
  40.     }
  41.     public function getFirstname(): ?string
  42.     {
  43.         return $this->firstname;
  44.     }
  45.     public function setFirstname(string $firstname): self
  46.     {
  47.         $this->firstname $firstname;
  48.         return $this;
  49.     }
  50.     public function getLastname(): ?string
  51.     {
  52.         return $this->lastname;
  53.     }
  54.     public function setLastname(string $lastname): self
  55.     {
  56.         $this->lastname $lastname;
  57.         return $this;
  58.     }
  59.     public function getMail(): ?string
  60.     {
  61.         return $this->mail;
  62.     }
  63.     public function setMail(string $mail): self
  64.     {
  65.         $this->mail $mail;
  66.         return $this;
  67.     }
  68.     public function getTheme(): ?string
  69.     {
  70.         return $this->theme;
  71.     }
  72.     public function setTheme(string $theme): self
  73.     {
  74.         $this->theme $theme;
  75.         return $this;
  76.     }
  77.     public function getTitle(): ?string
  78.     {
  79.         return $this->title;
  80.     }
  81.     public function setTitle(string $title): self
  82.     {
  83.         $this->title $title;
  84.         return $this;
  85.     }
  86.     public function getStatus(): ?int
  87.     {
  88.         return $this->status;
  89.     }
  90.     public function setStatus(int $status): self
  91.     {
  92.         $this->status $status;
  93.         return $this;
  94.     }
  95.     public function getEvenement(): ?Evenement
  96.     {
  97.         return $this->evenement;
  98.     }
  99.     public function getCreatedAt(): ?\DateTimeInterface
  100.     {
  101.         return $this->createdAt;
  102.     }
  103.     public function setCreatedAt(\DateTimeInterface $createdAt): self
  104.     {
  105.         $this->createdAt $createdAt;
  106.         return $this;
  107.     }
  108.     public function getUpdatedAt(): ?\DateTimeInterface
  109.     {
  110.         return $this->updatedAt;
  111.     }
  112.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  113.     {
  114.         $this->updatedAt $updatedAt;
  115.         return $this;
  116.     }
  117.     public function setEvenement(?Evenement $evenement): self
  118.     {
  119.         $this->evenement $evenement;
  120.         return $this;
  121.     }
  122. }