<?php
namespace App\Entity;
use App\Repository\UserSatResultRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: UserSatResultRepository::class)]
class UserSatResult
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private ?int $id;
#[ORM\ManyToOne(targetEntity: UserSat::class)]
private ?UserSat $userSat;
#[ORM\ManyToOne(targetEntity: SatLesson::class)]
private ?SatLesson $satLesson;
#[ORM\Column(type: 'integer', nullable: true)]
private ?string $lessonId;
#[ORM\Column(type: 'string', length: 20, nullable: true)]
private ?string $lessonCode;
#[ORM\Column(type: 'string', length: 255)]
private ?string $lessonName;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $lessonScore;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $rawScore;
#[ORM\Column(type: 'integer', nullable: true)]
private ?int $corrScaledScore;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $resultKey;
public function getId(): ?int
{
return $this->id;
}
public function getLessonName(): ?string
{
return $this->lessonName;
}
public function setLessonName(string $lessonName): self
{
$this->lessonName = $lessonName;
return $this;
}
public function getLessonScore(): ?int
{
return $this->lessonScore;
}
public function setLessonScore(string $lessonScore): self
{
$this->lessonScore = $lessonScore;
return $this;
}
public function getUserSat(): ?UserSat
{
return $this->userSat;
}
public function setUserSat(?UserSat $userSat): self
{
$this->userSat = $userSat;
return $this;
}
public function getLessonId(): ?int
{
return $this->lessonId;
}
public function setLessonId(?int $lessonId): self
{
$this->lessonId = $lessonId;
return $this;
}
public function getLessonCode(): ?string
{
return $this->lessonCode;
}
public function setLessonCode(?string $lessonCode): self
{
$this->lessonCode = $lessonCode;
return $this;
}
public function getRawScore(): ?int
{
return $this->rawScore;
}
public function setRawScore(?int $rawScore): self
{
$this->rawScore = $rawScore;
return $this;
}
public function getSatLesson(): ?SatLesson
{
return $this->satLesson;
}
public function setSatLesson(?SatLesson $satLesson): self
{
$this->satLesson = $satLesson;
return $this;
}
public function getCorrScaledScore(): ?int
{
return $this->corrScaledScore;
}
public function setCorrScaledScore(?int $corrScaledScore): self
{
$this->corrScaledScore = $corrScaledScore;
return $this;
}
public function getResultKey(): ?string
{
return $this->resultKey;
}
public function setResultKey(string $resultKey): self
{
$this->resultKey = $resultKey;
return $this;
}
}