src/Entity/TarifLivre.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TarifLivreRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassTarifLivreRepository::class)]
  7. class TarifLivre
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length1nullabletrue)]
  14.     private ?string $division null;
  15.     #[ORM\Column(nullabletrue)]
  16.     private ?int $code_regroupement null;
  17.     #[ORM\Column(nullabletrue)]
  18.     private ?int $code_client_livre null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $utilisateur null;
  21.     #[ORM\Column(length255nullabletrue)]
  22.     private ?string $ecran null;
  23.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  24.     private ?\DateTimeInterface $date_modification null;
  25.     #[ORM\ManyToOne(inversedBy'tariflivres')]
  26.     private ?Produit $cip null;
  27.     public function getId(): ?int
  28.     {
  29.         return $this->id;
  30.     }
  31.     public function getDivision(): ?string
  32.     {
  33.         return $this->division;
  34.     }
  35.     public function setDivision(?string $division): self
  36.     {
  37.         $this->division $division;
  38.         return $this;
  39.     }
  40.     public function getCodeRegroupement(): ?int
  41.     {
  42.         return $this->code_regroupement;
  43.     }
  44.     public function setCodeRegroupement(?int $code_regroupement): self
  45.     {
  46.         $this->code_regroupement $code_regroupement;
  47.         return $this;
  48.     }
  49.     public function getCodeClientLivre(): ?int
  50.     {
  51.         return $this->code_client_livre;
  52.     }
  53.     public function setCodeClientLivre(?int $code_client_livre): self
  54.     {
  55.         $this->code_client_livre $code_client_livre;
  56.         return $this;
  57.     }
  58.     public function getUtilisateur(): ?string
  59.     {
  60.         return $this->utilisateur;
  61.     }
  62.     public function setUtilisateur(?string $utilisateur): self
  63.     {
  64.         $this->utilisateur $utilisateur;
  65.         return $this;
  66.     }
  67.     public function getEcran(): ?string
  68.     {
  69.         return $this->ecran;
  70.     }
  71.     public function setEcran(?string $ecran): self
  72.     {
  73.         $this->ecran $ecran;
  74.         return $this;
  75.     }
  76.     public function getDateModification(): ?\DateTimeInterface
  77.     {
  78.         return $this->date_modification;
  79.     }
  80.     public function setDateModification(?\DateTimeInterface $date_modification): self
  81.     {
  82.         $this->date_modification $date_modification;
  83.         return $this;
  84.     }
  85.     public function getCip(): ?Produit
  86.     {
  87.         return $this->cip;
  88.     }
  89.     public function setCip(?Produit $cip): self
  90.     {
  91.         $this->cip $cip;
  92.         return $this;
  93.     }
  94. }