<?php
namespace App\Entity;
use App\Repository\YearSchoolRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=YearSchoolRepository::class)
*/
class YearSchool
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="date")
*/
private $startsc;
/**
* @ORM\Column(type="date")
*/
private $endsc;
/**
* @ORM\Column(type="string", length=255)
*/
private $title;
public function getId(): ?int
{
return $this->id;
}
public function getStartsc(): ?\DateTimeInterface
{
return $this->startsc;
}
public function setStartsc(\DateTimeInterface $startsc): self
{
$this->startsc = $startsc;
return $this;
}
public function getEndsc(): ?\DateTimeInterface
{
return $this->endsc;
}
public function setEndsc(\DateTimeInterface $endsc): self
{
$this->endsc = $endsc;
return $this;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(string $title): self
{
$this->title = $title;
return $this;
}
}