<?php
namespace App\Entity;
use App\Repository\LMSAnswerRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=LMSAnswerRepository::class)
*/
class LMSAnswer
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $content;
/**
* @ORM\Column(type="boolean")
*/
private $is_true;
/**
* @ORM\ManyToOne(targetEntity=LMSAsk::class, inversedBy="lMSAnswers")
*/
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 getIsTrue(): ?bool
{
return $this->is_true;
}
public function setIsTrue(bool $is_true): self
{
$this->is_true = $is_true;
return $this;
}
public function getAsk(): ?LMSAsk
{
return $this->ask;
}
public function setAsk(?LMSAsk $ask): self
{
$this->ask = $ask;
return $this;
}
}