<?php
namespace App\Entity;
use App\Repository\LMSAnswerSurveyRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=LMSAnswerSurveyRepository::class)
*/
class LMSAnswerSurvey
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $content;
/**
* @ORM\ManyToOne(targetEntity=LMSAsk::class, inversedBy="lMSAnswerSurveys")
*/
private $ask;
public function getId(): ?int
{
return $this->id;
}
public function getContent(): ?string
{
return $this->content;
}
public function setContent(?string $content): self
{
$this->content = $content;
return $this;
}
public function getAsk(): ?LMSAsk
{
return $this->ask;
}
public function setAsk(?LMSAsk $ask): self
{
$this->ask = $ask;
return $this;
}
}