src/Entity/PartAction.php line 9
<?php
namespace App\Entity;
use App\Repository\PartActionRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: PartActionRepository::class)]
class PartAction
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $nombre = null;
#[ORM\Column(length: 255)]
private ?string $relation = null;
#[ORM\Column(length: 255)]
private ?string $type = null;
#[ORM\ManyToOne(inversedBy: 'action')]
private ?Investisseur $investisseur = null;
public function getId(): ?int
{
return $this->id;
}
public function getNombre(): ?string
{
return $this->nombre;
}
public function setNombre(string $nombre): static
{
$this->nombre = $nombre;
return $this;
}
public function getRelation(): ?string
{
return $this->relation;
}
public function setRelation(string $relation): static
{
$this->relation = $relation;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(string $type): static
{
$this->type = $type;
return $this;
}
public function getInvestisseur(): ?Investisseur
{
return $this->investisseur;
}
public function setInvestisseur(?Investisseur $investisseur): static
{
$this->investisseur = $investisseur;
return $this;
}
}