<?php
namespace App\Entity;
use ApiPlatform\Metadata\ApiResource;
use App\Repository\CombinationCDERepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: CombinationCDERepository::class)]
class CombinationCDE
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $codenaf = null;
#[ORM\Column(length: 255)]
private ?string $codedep = null;
#[ORM\Column]
private ?bool $isImport = null;
public function getId(): ?int
{
return $this->id;
}
public function getCodenaf(): ?string
{
return $this->codenaf;
}
public function setCodenaf(string $codenaf): self
{
$this->codenaf = $codenaf;
return $this;
}
public function getCodedep(): ?string
{
return $this->codedep;
}
public function setCodedep(string $codedep): self
{
$this->codedep = $codedep;
return $this;
}
public function isIsImport(): ?bool
{
return $this->isImport;
}
public function setIsImport(bool $isImport): self
{
$this->isImport = $isImport;
return $this;
}
}