51 lines
917 B
PHP
51 lines
917 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Entity;
|
||
|
|
||
|
use App\Repository\TypeDmuRepository;
|
||
|
use Doctrine\ORM\Mapping as ORM;
|
||
|
|
||
|
#[ORM\Entity(repositoryClass: TypeDmuRepository::class)]
|
||
|
class DmuCat
|
||
|
{
|
||
|
#[ORM\Id]
|
||
|
#[ORM\GeneratedValue]
|
||
|
#[ORM\Column]
|
||
|
private ?int $id = null;
|
||
|
|
||
|
#[ORM\Column]
|
||
|
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;
|
||
|
}
|
||
|
}
|