<?phpnamespace App\Entity;use App\Repository\FichePreserieOperationRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: FichePreserieOperationRepository::class)]class FichePreserieOperation{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: 'integer')] private $id; #[ORM\ManyToOne(targetEntity: Operation::class, inversedBy: 'operations')] private $operation; #[ORM\Column(type: 'string', length: 255, nullable: true)] private $valeur; #[ORM\Column(type: 'string', length: 255, nullable: true)] private $nombre_point; #[ORM\Column(type: 'text', nullable: true)] private $pointcle; #[ORM\ManyToOne(targetEntity: FichePreserie::class, inversedBy: 'operations', cascade: ['persist', 'remove'])] private $fichepreserie; public function __construct() { $this->fichePreseries = new ArrayCollection(); } public function __clone() { if ($this->id) { $this->id = null; } } public function getId(): ?int { return $this->id; } public function getOperation(): ?Operation { return $this->operation; } public function setOperation(?Operation $operation): self { $this->operation = $operation; return $this; } public function getValeur(): ?string { return $this->valeur; } public function setValeur(?string $valeur): self { $this->valeur = $valeur; return $this; } public function getNombrePoint(): ?string { return $this->nombre_point; } public function setNombrePoint(?string $nombre_point): self { $this->nombre_point = $nombre_point; return $this; } public function getPointcle(): ?string { return $this->pointcle; } public function setPointcle(?string $pointcle): self { $this->pointcle = $pointcle; return $this; } public function getFichepreserie(): ?FichePreserie { return $this->fichepreserie; } public function setFichepreserie(?FichePreserie $fichepreserie): self { $this->fichepreserie = $fichepreserie; return $this; }}