src/Entity/Ape.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ApeRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassApeRepository::class)]
  7. class Ape
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length20)]
  14.     private ?string $ape null;
  15.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  16.     private ?\DateTimeInterface $dateCreation null;
  17.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  18.     private ?\DateTimeInterface $dateUpdate null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $division null;
  21.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  22.     private ?string $activites null;
  23.     #[ORM\Column(typeTypes::ARRAY, nullabletrue)]
  24.     private ?array $mot_cle null;
  25.     #[ORM\Column(length255nullabletrue)]
  26.     private ?string $class null;
  27.     #[ORM\Column(length255nullabletrue)]
  28.     private ?string $wz null;
  29.     #[ORM\Column(length255nullabletrue)]
  30.     private ?string $etat null;
  31.     #[ORM\Column(length255nullabletrue)]
  32.     private ?string $code_abreviation null;
  33.     #[ORM\Column(length255nullabletrue)]
  34.     private ?string $activite_de null;
  35.     #[ORM\Column(length255nullabletrue)]
  36.     private ?string $activite_en null;
  37.     #[ORM\Column(length255nullabletrue)]
  38.     private ?string $sous_section null;
  39.     public function getId(): ?int
  40.     {
  41.         return $this->id;
  42.     }
  43.     public function getApe(): ?string
  44.     {
  45.         return $this->ape;
  46.     }
  47.     public function setApe(string $ape): self
  48.     {
  49.         $this->ape $ape;
  50.         return $this;
  51.     }
  52.     public function getDateCreation(): ?\DateTimeInterface
  53.     {
  54.         return $this->dateCreation;
  55.     }
  56.     public function setDateCreation(\DateTimeInterface $dateCreation): static
  57.     {
  58.         $this->dateCreation $dateCreation;
  59.         return $this;
  60.     }
  61.     public function getDateUpdate(): ?\DateTimeInterface
  62.     {
  63.         return $this->dateUpdate;
  64.     }
  65.     public function setDateUpdate(\DateTimeInterface $dateUpdate): static
  66.     {
  67.         $this->dateUpdate $dateUpdate;
  68.         return $this;
  69.     }
  70.     public function getDivision(): ?string
  71.     {
  72.         return $this->division;
  73.     }
  74.     public function setDivision(?string $division): static
  75.     {
  76.         $this->division $division;
  77.         return $this;
  78.     }
  79.     public function getActivites(): ?string
  80.     {
  81.         return $this->activites;
  82.     }
  83.     public function setActivites(?string $activites): static
  84.     {
  85.         $this->activites $activites;
  86.         return $this;
  87.     }
  88.     public function getMotCle(): ?array
  89.     {
  90.         return $this->mot_cle;
  91.     }
  92.     public function setMotCle(?array $mot_cle): static
  93.     {
  94.         $this->mot_cle $mot_cle;
  95.         return $this;
  96.     }
  97.     public function getClass(): ?string
  98.     {
  99.         return $this->class;
  100.     }
  101.     public function setClass(?string $class): static
  102.     {
  103.         $this->class $class;
  104.         return $this;
  105.     }
  106.     public function getWz(): ?string
  107.     {
  108.         return $this->wz;
  109.     }
  110.     public function setWz(?string $wz): static
  111.     {
  112.         $this->wz $wz;
  113.         return $this;
  114.     }
  115.     public function getEtat(): ?string
  116.     {
  117.         return $this->etat;
  118.     }
  119.     public function setEtat(?string $etat): static
  120.     {
  121.         $this->etat $etat;
  122.         return $this;
  123.     }
  124.     public function getCodeAbreviation(): ?string
  125.     {
  126.         return $this->code_abreviation;
  127.     }
  128.     public function setCodeAbreviation(?string $code_abreviation): static
  129.     {
  130.         $this->code_abreviation $code_abreviation;
  131.         return $this;
  132.     }
  133.     public function getActiviteDe(): ?string
  134.     {
  135.         return $this->activite_de;
  136.     }
  137.     public function setActiviteDe(?string $activite_de): static
  138.     {
  139.         $this->activite_de $activite_de;
  140.         return $this;
  141.     }
  142.     public function getActiviteEn(): ?string
  143.     {
  144.         return $this->activite_en;
  145.     }
  146.     public function setActiviteEn(?string $activite_en): static
  147.     {
  148.         $this->activite_en $activite_en;
  149.         return $this;
  150.     }
  151.     public function getSousSection(): ?string
  152.     {
  153.         return $this->sous_section;
  154.     }
  155.     public function setSousSection(?string $sous_section): static
  156.     {
  157.         $this->sous_section $sous_section;
  158.         return $this;
  159.     }
  160. }