src/Entity/UserSession.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\UserSessionRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=UserSessionRepository::class)
  7.  */
  8. class UserSession
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer", name="idUserSession")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="integer", nullable=true)
  18.      */
  19.     private $idCourseSession;
  20.     /**
  21.      * @ORM\Column(type="integer", nullable=true)
  22.      */
  23.     private $idUser;
  24.     /**
  25.      * @ORM\Column(type="string", length=45, nullable=true)
  26.      */
  27.     private $certificate;
  28.     /**
  29.      * @ORM\Column(type="string", length=45)
  30.      */
  31.     private $mark;
  32.     /**
  33.      * @ORM\Column(type="integer", nullable=true)
  34.      */
  35.     private $evaluation;
  36.     /**
  37.      * @ORM\Column(type="text", nullable=true)
  38.      */
  39.     private $remarks;
  40.     /**
  41.      * @ORM\Column(type="boolean", nullable=true)
  42.      */
  43.     private $isRemote;
  44.     /**
  45.      * @ORM\Column(type="boolean", nullable=true)
  46.      */
  47.     private $isOnSite;
  48.     /**
  49.      * @ORM\Column(type="boolean", nullable=true)
  50.      */
  51.     private $isProfessional;
  52.     public function getId(): ?int
  53.     {
  54.         return $this->id;
  55.     }
  56.     public function getIdCourseSession(): ?int
  57.     {
  58.         return $this->idCourseSession;
  59.     }
  60.     public function setIdCourseSession(?int $idCourseSession): self
  61.     {
  62.         $this->idCourseSession $idCourseSession;
  63.         return $this;
  64.     }
  65.     public function getCertificate(): ?string
  66.     {
  67.         return $this->certificate;
  68.     }
  69.     public function setCertificate(?string $certificate): self
  70.     {
  71.         $this->certificate $certificate;
  72.         return $this;
  73.     }
  74.     public function getMark(): ?string
  75.     {
  76.         return $this->mark;
  77.     }
  78.     public function setMark(?string $mark): self
  79.     {
  80.         $this->mark $mark;
  81.         return $this;
  82.     }
  83.     public function getIdUser(): ?int
  84.     {
  85.         return $this->idUser;
  86.     }
  87.     public function setIdUser(?int $idUser): self
  88.     {
  89.         $this->idUser $idUser;
  90.         return $this;
  91.     }
  92.     public function getEvaluation(): ?int
  93.     {
  94.         return $this->evaluation;
  95.     }
  96.     public function setEvaluation(?int $evaluation): self
  97.     {
  98.         $this->evaluation $evaluation;
  99.         return $this;
  100.     }
  101.     public function getRemarks(): ?string
  102.     {
  103.         return $this->remarks;
  104.     }
  105.     public function setRemarks(?string $remarks): self
  106.     {
  107.         $this->remarks $remarks;
  108.         return $this;
  109.     }
  110.     public function isIsRemote(): ?bool
  111.     {
  112.         return $this->isRemote;
  113.     }
  114.     public function setIsRemote(?bool $isRemote): self
  115.     {
  116.         $this->isRemote $isRemote;
  117.         return $this;
  118.     }
  119.     public function isIsOnSite(): ?bool
  120.     {
  121.         return $this->isOnSite;
  122.     }
  123.     public function setIsOnSite(?bool $isOnSite): self
  124.     {
  125.         $this->isOnSite $isOnSite;
  126.         return $this;
  127.     }
  128.     public function IsProfessional(): ?bool
  129.     {
  130.         return $this->isProfessional;
  131.     }
  132.     public function setIsProfessional(?bool $isProfessional): self
  133.     {
  134.         $this->isProfessional $isProfessional;
  135.         return $this;
  136.     }
  137. }