<?php
namespace App\Entity;
use App\Repository\CategoryCourseRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CategoryCourseRepository::class)
*/
class CategoryCourse
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(name="idCategoryCourse", type="integer")
*/
private $id;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $idCourse;
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;
}
}