src/Entity/CRM/ImplementerOrderProductStatus.php line 11
<?phpnamespace App\Entity\CRM;use App\Repository\ImplementerOrderProductStatusRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ImplementerOrderProductStatusRepository::class)]class ImplementerOrderProductStatus{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255)]private ?string $name = null;#[ORM\OneToMany(mappedBy: 'status', targetEntity: ImplementerOrderProduct::class)]private Collection $implementerOrderProducts;#[ORM\Column]private ?bool $isActive = null;#[ORM\Column]private ?bool $ending = null;#[ORM\Column]private ?bool $notNeeded = null;public function __toString(): string{return $this->name;}public function __construct(){$this->implementerOrderProducts = new ArrayCollection();}public function getId(): ?int{return $this->id;}public function getName(): ?string{return $this->name;}public function setName(string $name): static{$this->name = $name;return $this;}/*** @return Collection<int, ImplementerOrderProduct>*/public function getImplementerOrderProducts(): Collection{return $this->implementerOrderProducts;}public function addImplementerOrderProduct(ImplementerOrderProduct $implementerOrderProduct): static{if (!$this->implementerOrderProducts->contains($implementerOrderProduct)) {$this->implementerOrderProducts->add($implementerOrderProduct);$implementerOrderProduct->setStatus($this);}return $this;}public function removeImplementerOrderProduct(ImplementerOrderProduct $implementerOrderProduct): static{if ($this->implementerOrderProducts->removeElement($implementerOrderProduct)) {// set the owning side to null (unless already changed)if ($implementerOrderProduct->getStatus() === $this) {$implementerOrderProduct->setStatus(null);}}return $this;}public function isIsActive(): ?bool{return $this->isActive;}public function setIsActive(bool $isActive): static{$this->isActive = $isActive;return $this;}public function isEnding(): ?bool{return $this->ending;}public function setEnding(bool $ending): static{$this->ending = $ending;return $this;}public function isNotNeeded(): ?bool{return $this->notNeeded;}public function setNotNeeded(bool $notNeeded): static{$this->notNeeded = $notNeeded;return $this;}}