src/Entity/Remarque.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\RemarqueRepository")
  6.  */
  7. class Remarque
  8. {
  9.     /**
  10.      * @ORM\Id()
  11.      * @ORM\GeneratedValue()
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\Column(type="string", length=255)
  17.      */
  18.     private $titre;
  19.     /**
  20.      * @ORM\Column(type="string", length=90000)
  21.      */
  22.     private $libelle;
  23.     /**
  24.      * @ORM\ManyToOne(targetEntity="App\Entity\Commande", inversedBy="remarques")
  25.      */
  26.     private $commande;
  27.     /**
  28.      * @ORM\Column(type="string", length=87985547, nullable=true)
  29.      */
  30.     private $modification;
  31.     public function getId(): ?int
  32.     {
  33.         return $this->id;
  34.     }
  35.     public function getTitre(): ?string
  36.     {
  37.         return $this->titre;
  38.     }
  39.     public function setTitre(string $titre): self
  40.     {
  41.         $this->titre = $titre;
  42.         return $this;
  43.     }
  44.     public function getLibelle(): ?string
  45.     {
  46.         return $this->libelle;
  47.     }
  48.     public function setLibelle(string $libelle): self
  49.     {
  50.         $this->libelle = $libelle;
  51.         return $this;
  52.     }
  53.     public function getCommande(): ?commande
  54.     {
  55.         return $this->commande;
  56.     }
  57.     public function setCommande(?commande $commande): self
  58.     {
  59.         $this->commande = $commande;
  60.         return $this;
  61.     }
  62.     public function getModification(): ?string
  63.     {
  64.         return $this->modification;
  65.     }
  66.     public function setModification(?string $modification): self
  67.     {
  68.         $this->modification = $modification;
  69.         return $this;
  70.     }
  71. }