<?php
namespace App\Entity;
use App\Repository\CourseSessionRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CourseSessionRepository::class)
*/
class CourseSession
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer", name="idCourseSession")
*/
private $id;
/**
* @ORM\Column(type="integer")
*/
private $idCourse;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $courseDate;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $remoteAccess;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $location;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $address1;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $address3;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $address2;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $postCode;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $city;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $country;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $contact;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $idContact;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $remoteLimit;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $onsiteLimit;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $enabled;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $price;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $courseDateEnd;
/**
* @ORM\Column(type="string", length=1, nullable=true)
*/
private $status;
/**
* @ORM\Column(type="integer")
*/
private $duration;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isActive;
public function getId(): ?int
{
return $this->id;
}
public function getIdCourse(): ?int
{
return $this->idCourse;
}
public function setIdCourse(int $idCourse): self
{
$this->idCourse = $idCourse;
return $this;
}
public function getCourseDate(): ?\DateTimeInterface
{
return $this->courseDate;
}
public function setCourseDate(?\DateTimeInterface $courseDate): self
{
$this->courseDate = $courseDate;
return $this;
}
public function getRemoteAccess(): ?bool
{
return $this->remoteAccess;
}
public function setRemoteAccess(?bool $remoteAccess): self
{
$this->remoteAccess = $remoteAccess;
return $this;
}
public function getLocation(): ?string
{
return $this->location;
}
public function setLocation(?string $location): self
{
$this->location = $location;
return $this;
}
public function getAddress1(): ?string
{
return $this->address1;
}
public function setAddress1(?string $address1): self
{
$this->address1 = $address1;
return $this;
}
public function getAddress3(): ?string
{
return $this->address3;
}
public function setAddress3(?string $address3): self
{
$this->address3 = $address3;
return $this;
}
public function getAddress2(): ?string
{
return $this->address2;
}
public function setAddress2(?string $address2): self
{
$this->address2 = $address2;
return $this;
}
public function getPostCode(): ?string
{
return $this->postCode;
}
public function setPostCode(?string $postCode): self
{
$this->postCode = $postCode;
return $this;
}
public function getCity(): ?string
{
return $this->city;
}
public function setCity(?string $city): self
{
$this->city = $city;
return $this;
}
public function getCountry(): ?string
{
return $this->country;
}
public function setCountry(?string $country): self
{
$this->country = $country;
return $this;
}
public function getContact(): ?string
{
return $this->contact;
}
public function setContact(?string $contact): self
{
$this->contact = $contact;
return $this;
}
public function getIdContact(): ?int
{
return $this->idContact;
}
public function setIdContact(?int $idContact): self
{
$this->idContact = $idContact;
return $this;
}
public function getRemoteLimit(): ?string
{
return $this->remoteLimit;
}
public function setRemoteLimit(?string $remoteLimit): self
{
$this->remoteLimit = $remoteLimit;
return $this;
}
public function getOnsiteLimit(): ?string
{
return $this->onsiteLimit;
}
public function setOnsiteLimit(?string $onsiteLimit): self
{
$this->onsiteLimit = $onsiteLimit;
return $this;
}
public function getEnabled(): ?bool
{
return $this->enabled;
}
public function setEnabled(?bool $enabled): self
{
$this->enabled = $enabled;
return $this;
}
public function getPrice(): ?string
{
return $this->price;
}
public function setPrice(?string $price): self
{
$this->price = $price;
return $this;
}
public function getCourseDateEnd(): ?\DateTimeInterface
{
return $this->courseDateEnd;
}
public function setCourseDateEnd(\DateTimeInterface $courseDateEnd): self
{
$this->courseDateEnd = $courseDateEnd;
return $this;
}
public function getStatus(): ?string
{
return $this->status;
}
public function setStatus(?string $status): self
{
$this->status = $status;
return $this;
}
public function getDuration(): ?int
{
return $this->duration;
}
public function setDuration(int $duration): self
{
$this->duration = $duration;
return $this;
}
public function getIsActive(): ?bool
{
return $this->isActive;
}
public function setIsActive(?bool $isActive): self
{
$this->isActive = $isActive;
return $this;
}
}