<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Repository\ProspectFeedbackRepository")
* @ORM\Table(name="prospect_feedback")
*/
class ProspectFeedback
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\OneToOne(targetEntity="App\Entity\Prospect", cascade={"persist", "remove"})
*/
private $prospect;
/**
* @ORM\Column(type="integer")
*/
private $value;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $comment;
public function getId(): ?int
{
return $this->id;
}
public function getProspect(): ?Prospect
{
return $this->prospect;
}
public function setProspect(?Prospect $prospect): self
{
$this->prospect = $prospect;
return $this;
}
public function getValue(): ?int
{
return $this->value;
}
public function setValue(int $value): self
{
$this->value = $value;
return $this;
}
public function getComment(): ?string
{
return $this->comment;
}
public function setComment(?string $comment): self
{
$this->comment = $comment;
return $this;
}
}