2022-10-15 15:22:45 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Entity;
|
|
|
|
|
2022-10-15 22:24:22 +02:00
|
|
|
use App\Repository\DmuCatRepository;
|
2022-10-15 15:22:45 +02:00
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
|
2022-10-15 22:24:22 +02:00
|
|
|
#[ORM\Entity(repositoryClass: DmuCatRepository::class)]
|
2022-10-15 15:22:45 +02:00
|
|
|
class DmuCat
|
|
|
|
{
|
|
|
|
#[ORM\Id]
|
|
|
|
#[ORM\GeneratedValue]
|
|
|
|
#[ORM\Column]
|
|
|
|
private ?int $id = null;
|
|
|
|
|
2022-10-15 22:24:22 +02:00
|
|
|
#[ORM\Column(nullable: true)]
|
2022-10-15 15:22:45 +02:00
|
|
|
private ?int $pocheNumber = null;
|
|
|
|
|
|
|
|
#[ORM\Column(length: 1000)]
|
|
|
|
private ?string $codeBarre = null;
|
|
|
|
|
|
|
|
public function getId(): ?int
|
|
|
|
{
|
|
|
|
return $this->id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getPocheNumber(): ?int
|
|
|
|
{
|
|
|
|
return $this->pocheNumber;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setPocheNumber(int $pocheNumber): self
|
|
|
|
{
|
|
|
|
$this->pocheNumber = $pocheNumber;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getCodeBarre(): ?string
|
|
|
|
{
|
|
|
|
return $this->codeBarre;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setCodeBarre(string $codeBarre): self
|
|
|
|
{
|
|
|
|
$this->codeBarre = $codeBarre;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
}
|