<?php
namespace App\Entity;
use App\Repository\UserSessionRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=UserSessionRepository::class)
*/
class UserSession
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer", name="idUserSession")
*/
private $id;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $idCourseSession;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $idUser;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $certificate;
/**
* @ORM\Column(type="string", length=45)
*/
private $mark;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $evaluation;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $remarks;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isRemote;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isOnSite;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isProfessional;
public function getId(): ?int
{
return $this->id;
}
public function getIdCourseSession(): ?int
{
return $this->idCourseSession;
}
public function setIdCourseSession(?int $idCourseSession): self
{
$this->idCourseSession = $idCourseSession;
return $this;
}
public function getCertificate(): ?string
{
return $this->certificate;
}
public function setCertificate(?string $certificate): self
{
$this->certificate = $certificate;
return $this;
}
public function getMark(): ?string
{
return $this->mark;
}
public function setMark(?string $mark): self
{
$this->mark = $mark;
return $this;
}
public function getIdUser(): ?int
{
return $this->idUser;
}
public function setIdUser(?int $idUser): self
{
$this->idUser = $idUser;
return $this;
}
public function getEvaluation(): ?int
{
return $this->evaluation;
}
public function setEvaluation(?int $evaluation): self
{
$this->evaluation = $evaluation;
return $this;
}
public function getRemarks(): ?string
{
return $this->remarks;
}
public function setRemarks(?string $remarks): self
{
$this->remarks = $remarks;
return $this;
}
public function isIsRemote(): ?bool
{
return $this->isRemote;
}
public function setIsRemote(?bool $isRemote): self
{
$this->isRemote = $isRemote;
return $this;
}
public function isIsOnSite(): ?bool
{
return $this->isOnSite;
}
public function setIsOnSite(?bool $isOnSite): self
{
$this->isOnSite = $isOnSite;
return $this;
}
public function IsProfessional(): ?bool
{
return $this->isProfessional;
}
public function setIsProfessional(?bool $isProfessional): self
{
$this->isProfessional = $isProfessional;
return $this;
}
}