<?php
namespace App\Entity;
use App\Repository\BlameDisciplineConcileConfigRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: BlameDisciplineConcileConfigRepository::class)]
class BlameDisciplineConcileConfig
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column]
private ?int $blame = null;
#[ORM\ManyToOne(inversedBy: 'blameDisciplineConcileConfigs')]
#[ORM\JoinColumn(nullable: false)]
private ?School $school = null;
#[ORM\ManyToOne]
#[ORM\JoinColumn(nullable: false)]
private ?SchoolYear $year = null;
#[ORM\Column]
private ?int $start = null;
public function getId(): ?int
{
return $this->id;
}
public function getBlame(): ?int
{
return $this->blame;
}
public function setBlame(int $blame): static
{
$this->blame = $blame;
return $this;
}
public function getSchool(): ?School
{
return $this->school;
}
public function setSchool(?School $school): static
{
$this->school = $school;
return $this;
}
public function getYear(): ?SchoolYear
{
return $this->year;
}
public function setYear(?SchoolYear $year): static
{
$this->year = $year;
return $this;
}
public function getStart(): ?int
{
return $this->start;
}
public function setStart(int $start): static
{
$this->start = $start;
return $this;
}
}