<?phpnamespace App\Entity;use App\Repository\BlamePunishConfigRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: BlamePunishConfigRepository::class)]class BlamePunishConfig{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(nullable: true)] private ?int $start = null; #[ORM\Column(nullable: true)] private ?int $end = null; #[ORM\Column(nullable: true)] private ?int $punisForInterval = null; #[ORM\Column(nullable: true)] private ?int $blame = null; #[ORM\Column(nullable: true)] private ?int $punish = null; #[ORM\ManyToOne(inversedBy: 'blamePunishConfigs')] #[ORM\JoinColumn(nullable: false)] private ?School $school = null; #[ORM\ManyToOne(inversedBy: 'blamePunishConfigs')] #[ORM\JoinColumn(nullable: false)] private ?SchoolYear $year = null; public function getId(): ?int { return $this->id; } public function getStart(): ?int { return $this->start; } public function setStart(?int $start): static { $this->start = $start; return $this; } public function getEnd(): ?int { return $this->end; } public function setEnd(?int $end): static { $this->end = $end; return $this; } public function getPunisForInterval(): ?int { return $this->punisForInterval; } public function setPunisForInterval(?int $punisForInterval): static { $this->punisForInterval = $punisForInterval; return $this; } public function getBlame(): ?int { return $this->blame; } public function setBlame(?int $blame): static { $this->blame = $blame; return $this; } public function getPunish(): ?int { return $this->punish; } public function setPunish(?int $punish): static { $this->punish = $punish; 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; }}