src/Entity/CombinationCDE.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use ApiPlatform\Metadata\ApiResource;
  4. use App\Repository\CombinationCDERepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassCombinationCDERepository::class)]
  7. class CombinationCDE
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $codenaf null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $codedep null;
  17.     #[ORM\Column]
  18.     private ?bool $isImport null;
  19.     public function getId(): ?int
  20.     {
  21.         return $this->id;
  22.     }
  23.     public function getCodenaf(): ?string
  24.     {
  25.         return $this->codenaf;
  26.     }
  27.     public function setCodenaf(string $codenaf): self
  28.     {
  29.         $this->codenaf $codenaf;
  30.         return $this;
  31.     }
  32.     public function getCodedep(): ?string
  33.     {
  34.         return $this->codedep;
  35.     }
  36.     public function setCodedep(string $codedep): self
  37.     {
  38.         $this->codedep $codedep;
  39.         return $this;
  40.     }
  41.     public function isIsImport(): ?bool
  42.     {
  43.         return $this->isImport;
  44.     }
  45.     public function setIsImport(bool $isImport): self
  46.     {
  47.         $this->isImport $isImport;
  48.         return $this;
  49.     }
  50. }