<?php
namespace App\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Repository\SubscriptionLessonReportRepository")
*/
class SubscriptionLessonReport
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\OneToOne(targetEntity="App\Entity\PaidCourseList", inversedBy="subscriptionLessonReport", cascade={"persist"})
*/
private $courseDate;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\SubscriptionOrder", inversedBy="subscriptionLessonReports")
* @ORM\JoinColumn(nullable=false)
*/
private $subscription;
/**
* @ORM\Column(type="boolean")
*/
private $onTime;
/**
* @ORM\Column(type="string", length=50, nullable=true)
*/
private $revision;
/**
* @ORM\Column(type="string", length=50, nullable=true)
*/
private $oral;
/**
* @ORM\Column(type="string", length=50, nullable=true)
*/
private $reading;
/**
* @ORM\Column(type="string", length=50, nullable=true)
*/
private $comprehension;
/**
* @ORM\Column(type="string", length=50, nullable=true)
*/
private $grammar;
/**
* @ORM\Column(type="string", length=50, nullable=true)
*/
private $dictation;
/**
* @ORM\Column(type="string", length=50, nullable=true)
*/
private $participation;
/**
* @ORM\Column(type="boolean")
*/
private $isTechnicalPb;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $studiedToday;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $homework;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $comment;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $memorizing;
/**
* @ORM\Column(type="string", length=50, nullable=true)
*/
private $memorizingLevel;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $coranRevision;
/**
* @ORM\Column(type="string", length=50, nullable=true)
*/
private $coranRevisionLevel;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $newSourate;
/**
* @ORM\OneToMany(targetEntity="App\Entity\ReportFiles", mappedBy="report", cascade={"persist"})
*/
private $reportFiles;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $newRevision;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $sentAt;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $editAt;
public function __construct()
{
$this->reportFiles = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;
}
public function getCourseDate(): ?PaidCourseList
{
return $this->courseDate;
}
public function setCourseDate(?PaidCourseList $courseDate): self
{
$this->courseDate = $courseDate;
return $this;
}
public function getSubscription(): ?SubscriptionOrder
{
return $this->subscription;
}
public function setSubscription(?SubscriptionOrder $subscription): self
{
$this->subscription = $subscription;
return $this;
}
public function getOnTime(): ?bool
{
return $this->onTime;
}
public function setOnTime(bool $onTime): self
{
$this->onTime = $onTime;
return $this;
}
public function getRevision(): ?string
{
return $this->revision;
}
public function setRevision(?string $revision): self
{
$this->revision = $revision;
return $this;
}
public function getOral(): ?string
{
return $this->oral;
}
public function setOral(?string $oral): self
{
$this->oral = $oral;
return $this;
}
public function getReading(): ?string
{
return $this->reading;
}
public function setReading(?string $reading): self
{
$this->reading = $reading;
return $this;
}
public function getComprehension(): ?string
{
return $this->comprehension;
}
public function setComprehension(?string $comprehension): self
{
$this->comprehension = $comprehension;
return $this;
}
public function getGrammar(): ?string
{
return $this->grammar;
}
public function setGrammar(?string $grammar): self
{
$this->grammar = $grammar;
return $this;
}
public function getDictation(): ?string
{
return $this->dictation;
}
public function setDictation(?string $dictation): self
{
$this->dictation = $dictation;
return $this;
}
public function getParticipation(): ?string
{
return $this->participation;
}
public function setParticipation(?string $participation): self
{
$this->participation = $participation;
return $this;
}
public function getIsTechnicalPb(): ?bool
{
return $this->isTechnicalPb;
}
public function setIsTechnicalPb(bool $isTechnicalPb): self
{
$this->isTechnicalPb = $isTechnicalPb;
return $this;
}
public function getStudiedToday(): ?string
{
return $this->studiedToday;
}
public function setStudiedToday(?string $studiedToday): self
{
$this->studiedToday = $studiedToday;
return $this;
}
public function getHomework(): ?string
{
return $this->homework;
}
public function setHomework(?string $homework): self
{
$this->homework = $homework;
return $this;
}
public function getComment(): ?string
{
return $this->comment;
}
public function setComment(?string $comment): self
{
$this->comment = $comment;
return $this;
}
public function getMemorizing(): ?string
{
return $this->memorizing;
}
public function setMemorizing(?string $memorizing): self
{
$this->memorizing = $memorizing;
return $this;
}
public function getMemorizingLevel(): ?string
{
return $this->memorizingLevel;
}
public function setMemorizingLevel(?string $memorizingLevel): self
{
$this->memorizingLevel = $memorizingLevel;
return $this;
}
public function getCoranRevision(): ?string
{
return $this->coranRevision;
}
public function setCoranRevision(?string $coranRevision): self
{
$this->coranRevision = $coranRevision;
return $this;
}
public function getCoranRevisionLevel(): ?string
{
return $this->coranRevisionLevel;
}
public function setCoranRevisionLevel(?string $coranRevisionLevel): self
{
$this->coranRevisionLevel = $coranRevisionLevel;
return $this;
}
public function getNewSourate(): ?string
{
return $this->newSourate;
}
public function setNewSourate(?string $newSourate): self
{
$this->newSourate = $newSourate;
return $this;
}
/**
* @return Collection|ReportFiles[]
*/
public function getReportFiles(): Collection
{
return $this->reportFiles;
}
public function addReportFile(ReportFiles $reportFile): self
{
if (!$this->reportFiles->contains($reportFile)) {
$this->reportFiles[] = $reportFile;
$reportFile->setReport($this);
}
return $this;
}
public function removeReportFile(ReportFiles $reportFile): self
{
if ($this->reportFiles->contains($reportFile)) {
$this->reportFiles->removeElement($reportFile);
// set the owning side to null (unless already changed)
if ($reportFile->getReport() === $this) {
$reportFile->setReport(null);
}
}
return $this;
}
public function getNewRevision(): ?string
{
return $this->newRevision;
}
public function setNewRevision(?string $newRevision): self
{
$this->newRevision = $newRevision;
return $this;
}
public function getSentAt(): ?\DateTimeInterface
{
return $this->sentAt;
}
public function setSentAt(?\DateTimeInterface $sentAt): self
{
$this->sentAt = $sentAt;
return $this;
}
public function getEditAt(): ?\DateTimeInterface
{
return $this->editAt;
}
public function setEditAt(?\DateTimeInterface $editAt): self
{
$this->editAt = $editAt;
return $this;
}
}