<?php
namespace App\Entity;
use App\Repository\ApeRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ApeRepository::class)]
class Ape
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 20)]
private ?string $ape = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $dateCreation = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $dateUpdate = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $division = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $activites = null;
#[ORM\Column(type: Types::ARRAY, nullable: true)]
private ?array $mot_cle = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $class = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $wz = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $etat = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $code_abreviation = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $activite_de = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $activite_en = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $sous_section = null;
public function getId(): ?int
{
return $this->id;
}
public function getApe(): ?string
{
return $this->ape;
}
public function setApe(string $ape): self
{
$this->ape = $ape;
return $this;
}
public function getDateCreation(): ?\DateTimeInterface
{
return $this->dateCreation;
}
public function setDateCreation(\DateTimeInterface $dateCreation): static
{
$this->dateCreation = $dateCreation;
return $this;
}
public function getDateUpdate(): ?\DateTimeInterface
{
return $this->dateUpdate;
}
public function setDateUpdate(\DateTimeInterface $dateUpdate): static
{
$this->dateUpdate = $dateUpdate;
return $this;
}
public function getDivision(): ?string
{
return $this->division;
}
public function setDivision(?string $division): static
{
$this->division = $division;
return $this;
}
public function getActivites(): ?string
{
return $this->activites;
}
public function setActivites(?string $activites): static
{
$this->activites = $activites;
return $this;
}
public function getMotCle(): ?array
{
return $this->mot_cle;
}
public function setMotCle(?array $mot_cle): static
{
$this->mot_cle = $mot_cle;
return $this;
}
public function getClass(): ?string
{
return $this->class;
}
public function setClass(?string $class): static
{
$this->class = $class;
return $this;
}
public function getWz(): ?string
{
return $this->wz;
}
public function setWz(?string $wz): static
{
$this->wz = $wz;
return $this;
}
public function getEtat(): ?string
{
return $this->etat;
}
public function setEtat(?string $etat): static
{
$this->etat = $etat;
return $this;
}
public function getCodeAbreviation(): ?string
{
return $this->code_abreviation;
}
public function setCodeAbreviation(?string $code_abreviation): static
{
$this->code_abreviation = $code_abreviation;
return $this;
}
public function getActiviteDe(): ?string
{
return $this->activite_de;
}
public function setActiviteDe(?string $activite_de): static
{
$this->activite_de = $activite_de;
return $this;
}
public function getActiviteEn(): ?string
{
return $this->activite_en;
}
public function setActiviteEn(?string $activite_en): static
{
$this->activite_en = $activite_en;
return $this;
}
public function getSousSection(): ?string
{
return $this->sous_section;
}
public function setSousSection(?string $sous_section): static
{
$this->sous_section = $sous_section;
return $this;
}
}