src/Entity/CourseSession.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CourseSessionRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=CourseSessionRepository::class)
  7.  */
  8. class CourseSession
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer", name="idCourseSession")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="integer")
  18.      */
  19.     private $idCourse;
  20.     /**
  21.      * @ORM\Column(type="datetime", nullable=true)
  22.      */
  23.     private $courseDate;
  24.     /**
  25.      * @ORM\Column(type="boolean", nullable=true)
  26.      */
  27.     private $remoteAccess;
  28.     /**
  29.      * @ORM\Column(type="string", length=45, nullable=true)
  30.      */
  31.     private $location;
  32.     /**
  33.      * @ORM\Column(type="string", length=45, nullable=true)
  34.      */
  35.     private $address1;
  36.     /**
  37.      * @ORM\Column(type="string", length=45, nullable=true)
  38.      */
  39.     private $address3;
  40.     /**
  41.      * @ORM\Column(type="string", length=45, nullable=true)
  42.      */
  43.     private $address2;
  44.     /**
  45.      * @ORM\Column(type="string", length=45, nullable=true)
  46.      */
  47.     private $postCode;
  48.     /**
  49.      * @ORM\Column(type="string", length=45, nullable=true)
  50.      */
  51.     private $city;
  52.     /**
  53.      * @ORM\Column(type="string", length=45, nullable=true)
  54.      */
  55.     private $country;
  56.     /**
  57.      * @ORM\Column(type="string", length=45, nullable=true)
  58.      */
  59.     private $contact;
  60.     /**
  61.      * @ORM\Column(type="integer", nullable=true)
  62.      */
  63.     private $idContact;
  64.     /**
  65.      * @ORM\Column(type="string", length=45, nullable=true)
  66.      */
  67.     private $remoteLimit;
  68.     /**
  69.      * @ORM\Column(type="string", length=45, nullable=true)
  70.      */
  71.     private $onsiteLimit;
  72.     /**
  73.      * @ORM\Column(type="boolean", nullable=true)
  74.      */
  75.     private $enabled;
  76.     /**
  77.      * @ORM\Column(type="float", nullable=true)
  78.      */
  79.     private $price;
  80.     /**
  81.      * @ORM\Column(type="datetime", nullable=true)
  82.      */
  83.     private $courseDateEnd;
  84.     /**
  85.      * @ORM\Column(type="string", length=1, nullable=true)
  86.      */
  87.     private $status;
  88.     /**
  89.      * @ORM\Column(type="integer")
  90.      */
  91.     private $duration;
  92.     /**
  93.      * @ORM\Column(type="boolean", nullable=true)
  94.      */
  95.     private $isActive;
  96.     public function getId(): ?int
  97.     {
  98.         return $this->id;
  99.     }
  100.     public function getIdCourse(): ?int
  101.     {
  102.         return $this->idCourse;
  103.     }
  104.     public function setIdCourse(int $idCourse): self
  105.     {
  106.         $this->idCourse $idCourse;
  107.         return $this;
  108.     }
  109.     public function getCourseDate(): ?\DateTimeInterface
  110.     {
  111.         return $this->courseDate;
  112.     }
  113.     public function setCourseDate(?\DateTimeInterface $courseDate): self
  114.     {
  115.         $this->courseDate $courseDate;
  116.         return $this;
  117.     }
  118.     public function getRemoteAccess(): ?bool
  119.     {
  120.         return $this->remoteAccess;
  121.     }
  122.     public function setRemoteAccess(?bool $remoteAccess): self
  123.     {
  124.         $this->remoteAccess $remoteAccess;
  125.         return $this;
  126.     }
  127.     public function getLocation(): ?string
  128.     {
  129.         return $this->location;
  130.     }
  131.     public function setLocation(?string $location): self
  132.     {
  133.         $this->location $location;
  134.         return $this;
  135.     }
  136.     public function getAddress1(): ?string
  137.     {
  138.         return $this->address1;
  139.     }
  140.     public function setAddress1(?string $address1): self
  141.     {
  142.         $this->address1 $address1;
  143.         return $this;
  144.     }
  145.     public function getAddress3(): ?string
  146.     {
  147.         return $this->address3;
  148.     }
  149.     public function setAddress3(?string $address3): self
  150.     {
  151.         $this->address3 $address3;
  152.         return $this;
  153.     }
  154.     public function getAddress2(): ?string
  155.     {
  156.         return $this->address2;
  157.     }
  158.     public function setAddress2(?string $address2): self
  159.     {
  160.         $this->address2 $address2;
  161.         return $this;
  162.     }
  163.     public function getPostCode(): ?string
  164.     {
  165.         return $this->postCode;
  166.     }
  167.     public function setPostCode(?string $postCode): self
  168.     {
  169.         $this->postCode $postCode;
  170.         return $this;
  171.     }
  172.     public function getCity(): ?string
  173.     {
  174.         return $this->city;
  175.     }
  176.     public function setCity(?string $city): self
  177.     {
  178.         $this->city $city;
  179.         return $this;
  180.     }
  181.     public function getCountry(): ?string
  182.     {
  183.         return $this->country;
  184.     }
  185.     public function setCountry(?string $country): self
  186.     {
  187.         $this->country $country;
  188.         return $this;
  189.     }
  190.     public function getContact(): ?string
  191.     {
  192.         return $this->contact;
  193.     }
  194.     public function setContact(?string $contact): self
  195.     {
  196.         $this->contact $contact;
  197.         return $this;
  198.     }
  199.     public function getIdContact(): ?int
  200.     {
  201.         return $this->idContact;
  202.     }
  203.     public function setIdContact(?int $idContact): self
  204.     {
  205.         $this->idContact $idContact;
  206.         return $this;
  207.     }
  208.     public function getRemoteLimit(): ?string
  209.     {
  210.         return $this->remoteLimit;
  211.     }
  212.     public function setRemoteLimit(?string $remoteLimit): self
  213.     {
  214.         $this->remoteLimit $remoteLimit;
  215.         return $this;
  216.     }
  217.     public function getOnsiteLimit(): ?string
  218.     {
  219.         return $this->onsiteLimit;
  220.     }
  221.     public function setOnsiteLimit(?string $onsiteLimit): self
  222.     {
  223.         $this->onsiteLimit $onsiteLimit;
  224.         return $this;
  225.     }
  226.     public function getEnabled(): ?bool
  227.     {
  228.         return $this->enabled;
  229.     }
  230.     public function setEnabled(?bool $enabled): self
  231.     {
  232.         $this->enabled $enabled;
  233.         return $this;
  234.     }
  235.     public function getPrice(): ?string
  236.     {
  237.         return $this->price;
  238.     }
  239.     public function setPrice(?string $price): self
  240.     {
  241.         $this->price $price;
  242.         return $this;
  243.     }
  244.     public function getCourseDateEnd(): ?\DateTimeInterface
  245.     {
  246.         return $this->courseDateEnd;
  247.     }
  248.     public function setCourseDateEnd(\DateTimeInterface $courseDateEnd): self
  249.     {
  250.         $this->courseDateEnd $courseDateEnd;
  251.         return $this;
  252.     }
  253.     public function getStatus(): ?string
  254.     {
  255.         return $this->status;
  256.     }
  257.     public function setStatus(?string $status): self
  258.     {
  259.         $this->status $status;
  260.         return $this;
  261.     }
  262.     public function getDuration(): ?int
  263.     {
  264.         return $this->duration;
  265.     }
  266.     public function setDuration(int $duration): self
  267.     {
  268.         $this->duration $duration;
  269.         return $this;
  270.     }
  271.     public function getIsActive(): ?bool
  272.     {
  273.         return $this->isActive;
  274.     }
  275.     public function setIsActive(?bool $isActive): self
  276.     {
  277.         $this->isActive $isActive;
  278.         return $this;
  279.     }
  280. }