src/Entity/MailIndicateurQualite.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\MailIndicateurQualiteRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassMailIndicateurQualiteRepository::class)]
  7. class MailIndicateurQualite
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $type null;
  15.     #[ORM\Column(nullabletrue)]
  16.     private ?bool $mail null;
  17.     #[ORM\ManyToOne(inversedBy'mailIndicateurQualites')]
  18.     private ?Atelier $atelier null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $numero_semaine null;
  21.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  22.     private ?\DateTimeInterface $date_create null;
  23.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  24.     private ?\DateTimeInterface $date_mail null;
  25.     #[ORM\Column(length255nullabletrue)]
  26.     private ?string $mois null;
  27.     #[ORM\Column(length255nullabletrue)]
  28.     private ?string $annee null;
  29.     public function getId(): ?int
  30.     {
  31.         return $this->id;
  32.     }
  33.     public function getType(): ?string
  34.     {
  35.         return $this->type;
  36.     }
  37.     public function setType(?string $type): static
  38.     {
  39.         $this->type $type;
  40.         return $this;
  41.     }
  42.     public function isMail(): ?bool
  43.     {
  44.         return $this->mail;
  45.     }
  46.     public function setMail(?bool $mail): static
  47.     {
  48.         $this->mail $mail;
  49.         return $this;
  50.     }
  51.     public function getAtelier(): ?Atelier
  52.     {
  53.         return $this->atelier;
  54.     }
  55.     public function setAtelier(?Atelier $atelier): static
  56.     {
  57.         $this->atelier $atelier;
  58.         return $this;
  59.     }
  60.     public function getNumeroSemaine(): ?string
  61.     {
  62.         return $this->numero_semaine;
  63.     }
  64.     public function setNumeroSemaine(?string $numero_semaine): static
  65.     {
  66.         $this->numero_semaine $numero_semaine;
  67.         return $this;
  68.     }
  69.     public function getDateCreate(): ?\DateTimeInterface
  70.     {
  71.         return $this->date_create;
  72.     }
  73.     public function setDateCreate(?\DateTimeInterface $date_create): static
  74.     {
  75.         $this->date_create $date_create;
  76.         return $this;
  77.     }
  78.     public function getDateMail(): ?\DateTimeInterface
  79.     {
  80.         return $this->date_mail;
  81.     }
  82.     public function setDateMail(?\DateTimeInterface $date_mail): static
  83.     {
  84.         $this->date_mail $date_mail;
  85.         return $this;
  86.     }
  87.     public function getMois(): ?string
  88.     {
  89.         return $this->mois;
  90.     }
  91.     public function setMois(?string $mois): static
  92.     {
  93.         $this->mois $mois;
  94.         return $this;
  95.     }
  96.     public function getAnnee(): ?string
  97.     {
  98.         return $this->annee;
  99.     }
  100.     public function setAnnee(?string $annee): static
  101.     {
  102.         $this->annee $annee;
  103.         return $this;
  104.     }
  105. }