<?php
declare(strict_types=1);
namespace App\Entity;
use App\Repository\HistoryRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* History.
*
* @ORM\Table(name="History")
*
* @ORM\Entity(repositoryClass=HistoryRepository::class)
*/
class History
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
*
* @ORM\Id
*
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="sidParent", type="integer", nullable=true)
*/
private $sidParent;
/**
* @var int
*
* @ORM\Column(name="qidParent", type="integer", nullable=true)
*/
private $qidParent;
/**
* @var string
*
* @ORM\Column(name="answerParent", type="string", length=255)
*/
private $answerParent;
/**
* @var int
*
* @ORM\Column(name="sidChild", type="integer", nullable=true)
*/
private $sidChild;
/**
* @var int
*
* @ORM\Column(name="qidChild", type="integer", nullable=true)
*/
private $qidChild;
/**
* @var string
*
* @ORM\Column(name="answerChild", type="string", length=255)
*/
private $answerChild;
/**
* @var int
*
* @ORM\Column(name="year", type="integer")
*/
private $year;
/**
* @var bool
*
* @ORM\Column(name="isImport", type="boolean", nullable=true)
*/
private $isImport;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set sidParent.
*
* @param int $sidParent
*/
public function setSidParent($sidParent): static
{
$this->sidParent = $sidParent;
return $this;
}
/**
* Get sidParent.
*
* @return int
*/
public function getSidParent()
{
return $this->sidParent;
}
/**
* Set qidParent.
*
* @param int $qidParent
*/
public function setQidParent($qidParent): static
{
$this->qidParent = $qidParent;
return $this;
}
/**
* Get qidParent.
*
* @return int
*/
public function getQidParent()
{
return $this->qidParent;
}
/**
* Set answerParent.
*
* @param string $answerParent
*/
public function setAnswerParent($answerParent): static
{
$this->answerParent = $answerParent;
return $this;
}
/**
* Get answerParent.
*
* @return string
*/
public function getAnswerParent()
{
return $this->answerParent;
}
/**
* Set sidChild.
*
* @param int $sidChild
*/
public function setSidChild($sidChild): static
{
$this->sidChild = $sidChild;
return $this;
}
/**
* Get sidChild.
*
* @return int
*/
public function getSidChild()
{
return $this->sidChild;
}
/**
* Set qidChild.
*
* @param int $qidChild
*/
public function setQidChild($qidChild): static
{
$this->qidChild = $qidChild;
return $this;
}
/**
* Get qidChild.
*
* @return int
*/
public function getQidChild()
{
return $this->qidChild;
}
/**
* Set answerChild.
*
* @param string $answerChild
*/
public function setAnswerChild($answerChild): static
{
$this->answerChild = $answerChild;
return $this;
}
/**
* Get answerChild.
*
* @return string
*/
public function getAnswerChild()
{
return $this->answerChild;
}
/**
* Set year.
*
* @param int $year
*/
public function setYear($year): static
{
$this->year = $year;
return $this;
}
/**
* Get year.
*
* @return int
*/
public function getYear()
{
return $this->year;
}
/**
* Set isImport.
*
* @param bool $isImport
*/
public function setIsImport($isImport): static
{
$this->isImport = $isImport;
return $this;
}
/**
* Get isImport.
*
* @return bool
*/
public function getIsImport()
{
return $this->isImport;
}
public function isIsImport(): ?bool
{
return $this->isImport;
}
}