start
This commit is contained in:
50
src/Entity/DmuCat.php
Normal file
50
src/Entity/DmuCat.php
Normal file
@ -0,0 +1,50 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user