<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass="App\Repository\AutreFraisRepository") */class AutreFrais{ /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /* * @ORM\Column(type="integer") */ //private $IdCmd; /** * @ORM\Column(type="string", length=255) */ private $Libelle; /** * @ORM\Column(type="integer") */ private $Montant; /** * @ORM\ManyToOne(targetEntity="App\Entity\Commande", inversedBy="autreFrais") */ private $commande; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $modification; public function getId(): ?int { return $this->id; }/* public function getIdCmd(): ?int { return $this->IdCmd; }*/ public function setIdCmd(int $IdCmd): self { $this->IdCmd = $IdCmd; return $this; } public function getLibelle(): ?string { return $this->Libelle; } public function setLibelle(string $Libelle): self { $this->Libelle = $Libelle; return $this; } public function getMontant(): ?int { return $this->Montant; } public function setMontant(int $Montant): self { $this->Montant = $Montant; return $this; } public function getCommande(): ?commande { return $this->commande; } public function setCommande(?commande $commande): self { $this->commande = $commande; return $this; } public function getModification(): ?string { return $this->modification; } public function setModification(?string $modification): self { $this->modification = $modification; return $this; }}