src/Entity/CatalogueImport.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CatalogueImportRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClass: CatalogueImportRepository::class)]
  7. class CatalogueImport
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id = null;
  13.     #[ORM\Column(nullable: true)]
  14.     private ?int $idA = null;
  15.     #[ORM\Column(length: 255, nullable: true)]
  16.     private ?string $colA = null;
  17.     #[ORM\Column(nullable: true)]
  18.     private ?int $idB = null;
  19.     #[ORM\Column(length: 255, nullable: true)]
  20.     private ?string $colB = null;
  21.     #[ORM\Column(nullable: true)]
  22.     private ?int $idC = null;
  23.     #[ORM\Column(length: 255, nullable: true)]
  24.     private ?string $colC = null;
  25.     #[ORM\Column(nullable: true)]
  26.     private ?int $idD = null;
  27.     #[ORM\Column(length: 255, nullable: true)]
  28.     private ?string $colD = null;
  29.     #[ORM\Column(nullable: true)]
  30.     private ?int $idE = null;
  31.     #[ORM\Column(length: 255, nullable: true)]
  32.     private ?string $colE = null;
  33.     #[ORM\Column(nullable: true)]
  34.     private ?int $idF = null;
  35.     #[ORM\Column(length: 255, nullable: true)]
  36.     private ?string $colF = null;
  37.     #[ORM\Column(nullable: true)]
  38.     private ?int $idG = null;
  39.     #[ORM\Column(length: 255, nullable: true)]
  40.     private ?string $colG = null;
  41.     #[ORM\Column(nullable: true)]
  42.     private ?int $idH = null;
  43.     #[ORM\Column(length: 255, nullable: true)]
  44.     private ?string $colH = null;
  45.     #[ORM\Column(nullable: true)]
  46.     private ?int $idI = null;
  47.     #[ORM\Column(length: 255, nullable: true)]
  48.     private ?string $colI = null;
  49.     #[ORM\Column(nullable: true)]
  50.     private ?int $idJ = null;
  51.     #[ORM\Column(length: 255, nullable: true)]
  52.     private ?string $colJ = null;
  53.     #[ORM\Column(nullable: true)]
  54.     private ?int $idK = null;
  55.     #[ORM\Column(type: Types::TEXT, nullable: true)]
  56.     private ?string $colK = null;
  57.     #[ORM\Column(nullable: true)]
  58.     private ?int $idL = null;
  59.     #[ORM\Column(length: 255, nullable: true)]
  60.     private ?string $colL = null;
  61.     #[ORM\Column(nullable: true)]
  62.     private ?int $idM = null;
  63.     #[ORM\Column(length: 255, nullable: true)]
  64.     private ?string $colM = null;
  65.     #[ORM\Column(nullable: true)]
  66.     private ?int $idN = null;
  67.     #[ORM\Column(length: 255, nullable: true)]
  68.     private ?string $colN = null;
  69.     #[ORM\Column(nullable: true)]
  70.     private ?int $idO = null;
  71.     #[ORM\Column(length: 255, nullable: true, name: "col_o")]
  72.     private ?string $colO = null;
  73.     #[ORM\Column(nullable: true)]
  74.     private ?int $idP = null;
  75.     #[ORM\Column(length: 255, nullable: true)]
  76.     private ?string $colP = null;
  77.     #[ORM\Column(nullable: true)]
  78.     private ?int $idQ = null;
  79.     #[ORM\Column(length: 255, nullable: true)]
  80.     private ?string $colQ = null;
  81.     #[ORM\Column(nullable: true)]
  82.     private ?int $sortA = null;
  83.     #[ORM\Column(nullable: true)]
  84.     private ?int $sortB = null;
  85.     #[ORM\Column(nullable: true)]
  86.     private ?int $sortC = null;
  87.     #[ORM\Column(nullable: true)]
  88.     private ?int $sortD = null;
  89.     #[ORM\Column(nullable: true)]
  90.     private ?int $sortE = null;
  91.     #[ORM\Column(nullable: true)]
  92.     private ?int $sortF = null;
  93.     #[ORM\Column(nullable: true)]
  94.     private ?int $sortG = null;
  95.     #[ORM\Column(nullable: true)]
  96.     private ?int $sortH = null;
  97.     #[ORM\Column(nullable: true)]
  98.     private ?int $sortI = null;
  99.     #[ORM\Column(nullable: true)]
  100.     private ?int $sortJ = null;
  101.     #[ORM\Column(nullable: true)]
  102.     private ?int $sortK = null;
  103.     #[ORM\Column(nullable: true)]
  104.     private ?int $sortL = null;
  105.     #[ORM\Column(nullable: true)]
  106.     private ?int $sortM = null;
  107.     #[ORM\Column(nullable: true)]
  108.     private ?int $sortN = null;
  109.     #[ORM\Column(nullable: true)]
  110.     private ?int $sortO = null;
  111.     #[ORM\Column(nullable: true)]
  112.     private ?int $sortP = null;
  113.     #[ORM\Column(nullable: true)]
  114.     private ?int $sortQ = null;
  115.     // --------------------
  116.     // GETTERS & SETTERS
  117.     // --------------------
  118.     public function getId(): ?int { return $this->id; }
  119.     public function getIdA(): ?int { return $this->idA; }
  120.     public function setIdA(?int $idA): static { $this->idA = $idA; return $this; }
  121.     public function getColA(): ?string { return $this->colA; }
  122.     public function setColA(?string $colA): static { $this->colA = $colA; return $this; }
  123.     public function getIdB(): ?int { return $this->idB; }
  124.     public function setIdB(?int $idB): static { $this->idB = $idB; return $this; }
  125.     public function getColB(): ?string { return $this->colB; }
  126.     public function setColB(?string $colB): static { $this->colB = $colB; return $this; }
  127.     public function getIdC(): ?int { return $this->idC; }
  128.     public function setIdC(?int $idC): static { $this->idC = $idC; return $this; }
  129.     public function getColC(): ?string { return $this->colC; }
  130.     public function setColC(?string $colC): static { $this->colC = $colC; return $this; }
  131.     public function getIdD(): ?int { return $this->idD; }
  132.     public function setIdD(?int $idD): static { $this->idD = $idD; return $this; }
  133.     public function getColD(): ?string { return $this->colD; }
  134.     public function setColD(?string $colD): static { $this->colD = $colD; return $this; }
  135.     public function getIdE(): ?int { return $this->idE; }
  136.     public function setIdE(?int $idE): static { $this->idE = $idE; return $this; }
  137.     public function getColE(): ?string { return $this->colE; }
  138.     public function setColE(?string $colE): static { $this->colE = $colE; return $this; }
  139.     public function getIdF(): ?int { return $this->idF; }
  140.     public function setIdF(?int $idF): static { $this->idF = $idF; return $this; }
  141.     public function getColF(): ?string { return $this->colF; }
  142.     public function setColF(?string $colF): static { $this->colF = $colF; return $this; }
  143.     public function getIdG(): ?int { return $this->idG; }
  144.     public function setIdG(?int $idG): static { $this->idG = $idG; return $this; }
  145.     public function getColG(): ?string { return $this->colG; }
  146.     public function setColG(?string $colG): static { $this->colG = $colG; return $this; }
  147.     public function getIdH(): ?int { return $this->idH; }
  148.     public function setIdH(?int $idH): static { $this->idH = $idH; return $this; }
  149.     public function getColH(): ?string { return $this->colH; }
  150.     public function setColH(?string $colH): static { $this->colH = $colH; return $this; }
  151.     public function getIdI(): ?int { return $this->idI; }
  152.     public function setIdI(?int $idI): static { $this->idI = $idI; return $this; }
  153.     public function getColI(): ?string { return $this->colI; }
  154.     public function setColI(?string $colI): static { $this->colI = $colI; return $this; }
  155.     public function getIdJ(): ?int { return $this->idJ; }
  156.     public function setIdJ(?int $idJ): static { $this->idJ = $idJ; return $this; }
  157.     public function getColJ(): ?string { return $this->colJ; }
  158.     public function setColJ(?string $colJ): static { $this->colJ = $colJ; return $this; }
  159.     public function getIdK(): ?int { return $this->idK; }
  160.     public function setIdK(?int $idK): static { $this->idK = $idK; return $this; }
  161.     public function getColK(): ?string { return $this->colK; }
  162.     public function setColK(?string $colK): static { $this->colK = $colK; return $this; }
  163.     public function getIdL(): ?int { return $this->idL; }
  164.     public function setIdL(?int $idL): static { $this->idL = $idL; return $this; }
  165.     public function getColL(): ?string { return $this->colL; }
  166.     public function setColL(?string $colL): static { $this->colL = $colL; return $this; }
  167.     public function getIdM(): ?int { return $this->idM; }
  168.     public function setIdM(?int $idM): static { $this->idM = $idM; return $this; }
  169.     public function getColM(): ?string { return $this->colM; }
  170.     public function setColM(?string $colM): static { $this->colM = $colM; return $this; }
  171.     public function getIdN(): ?int { return $this->idN; }
  172.     public function setIdN(?int $idN): static { $this->idN = $idN; return $this; }
  173.     public function getColN(): ?string { return $this->colN; }
  174.     public function setColN(?string $colN): static { $this->colN = $colN; return $this; }
  175.     public function getIdO(): ?int { return $this->idO; }
  176.     public function setIdO(?int $idO): static { $this->idO = $idO; return $this; }
  177.     public function getColO(): ?string { return $this->colO; }
  178.     public function setColO(?string $colO): static { $this->colO = $colO; return $this; }
  179.     public function getIdP(): ?int { return $this->idP; }
  180.     public function setIdP(?int $idP): static { $this->idP = $idP; return $this; }
  181.     public function getColP(): ?string { return $this->colP; }
  182.     public function setColP(?string $colP): static { $this->colP = $colP; return $this; }
  183.     public function getIdQ(): ?int { return $this->idQ; }
  184.     public function setIdQ(?int $idQ): static { $this->idQ = $idQ; return $this; }
  185.     public function getColQ(): ?string { return $this->colQ; }
  186.     public function setColQ(?string $colQ): static { $this->colQ = $colQ; return $this; }
  187.     // --------------------
  188.     // GETTERS "sort" : retournent l'id afférent (id_x), pas la colonne sort_x.
  189.     // C'est ce que le Twig lit via element.sortX pour trier sur l'ordre métier.
  190.     // --------------------
  191.     public function getSortA(): ?int { return $this->idA; }
  192.     public function setSortA(?int $sortA): static { $this->sortA = $sortA; return $this; }
  193.     public function getSortB(): ?int { return $this->idB; }
  194.     public function setSortB(?int $sortB): static { $this->sortB = $sortB; return $this; }
  195.     public function getSortC(): ?int { return $this->idC; }
  196.     public function setSortC(?int $sortC): static { $this->sortC = $sortC; return $this; }
  197.     public function getSortD(): ?int { return $this->idD; }
  198.     public function setSortD(?int $sortD): static { $this->sortD = $sortD; return $this; }
  199.     public function getSortE(): ?int { return $this->idE; }
  200.     public function setSortE(?int $sortE): static { $this->sortE = $sortE; return $this; }
  201.     public function getSortF(): ?int { return $this->idF; }
  202.     public function setSortF(?int $sortF): static { $this->sortF = $sortF; return $this; }
  203.     public function getSortG(): ?int { return $this->idG; }
  204.     public function setSortG(?int $sortG): static { $this->sortG = $sortG; return $this; }
  205.     public function getSortH(): ?int { return $this->idH; }
  206.     public function setSortH(?int $sortH): static { $this->sortH = $sortH; return $this; }
  207.     public function getSortI(): ?int { return $this->idI; }
  208.     public function setSortI(?int $sortI): static { $this->sortI = $sortI; return $this; }
  209.     public function getSortJ(): ?int { return $this->idJ; }
  210.     public function setSortJ(?int $sortJ): static { $this->sortJ = $sortJ; return $this; }
  211.     public function getSortK(): ?int { return $this->idK; }
  212.     public function setSortK(?int $sortK): static { $this->sortK = $sortK; return $this; }
  213.     public function getSortL(): ?int { return $this->idL; }
  214.     public function setSortL(?int $sortL): static { $this->sortL = $sortL; return $this; }
  215.     public function getSortM(): ?int { return $this->idM; }
  216.     public function setSortM(?int $sortM): static { $this->sortM = $sortM; return $this; }
  217.     public function getSortN(): ?int { return $this->idN; }
  218.     public function setSortN(?int $sortN): static { $this->sortN = $sortN; return $this; }
  219.     public function getSortO(): ?int { return $this->idO; }
  220.     public function setSortO(?int $sortO): static { $this->sortO = $sortO; return $this; }
  221.     public function getSortP(): ?int { return $this->idP; }
  222.     public function setSortP(?int $sortP): static { $this->sortP = $sortP; return $this; }
  223.     public function getSortQ(): ?int { return $this->idQ; }
  224.     public function setSortQ(?int $sortQ): static { $this->sortQ = $sortQ; return $this; }
  225. }