<?php
namespace App\Entity;
use App\Repository\GlobalDisciplineConfigRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: GlobalDisciplineConfigRepository::class)]
class GlobalDisciplineConfig
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\ManyToOne(inversedBy: 'globalDisciplineConfigs')]
#[ORM\JoinColumn(nullable: false)]
private ?School $school = null;
#[ORM\ManyToOne(inversedBy: 'globalDisciplineConfigs')]
#[ORM\JoinColumn(nullable: false)]
private ?SchoolYear $year = null;
#[ORM\Column]
private ?bool $isBlame = null;
#[ORM\Column]
private ?bool $isWarning = null;
#[ORM\Column]
private ?bool $isRetained = null;
#[ORM\Column]
private ?bool $isPunish = null;
#[ORM\Column]
private ?bool $isAbsenceToPunish = null;
#[ORM\Column]
private ?int $absenceToPunishType = null;
#[ORM\Column]
private ?bool $isAbsenceToWarning = null;
#[ORM\Column]
private ?int $absenceToWarningType = null;
#[ORM\Column]
private ?bool $isAbsenceToBlame = null;
#[ORM\Column]
private ?int $absenceToBlameType = null;
#[ORM\Column]
private ?bool $isAbsenceToRetained = null;
#[ORM\Column(nullable: true)]
private ?int $absenceToRetained = null;
#[ORM\Column]
private ?bool $isAbsenceToExclusion = null;
#[ORM\Column]
private ?int $absenceToExclusionType = null;
#[ORM\Column]
private ?bool $isPunishToWarning = null;
#[ORM\Column(nullable: true)]
private ?int $punishToWarningType = null;
#[ORM\Column]
private ?bool $isPunishToBlameConfig = null;
#[ORM\Column]
private ?bool $isPunishToBlame = null;
#[ORM\Column(nullable: true)]
private ?int $punishToBlameType = null;
#[ORM\Column]
private ?bool $isPunishToExclusion = null;
#[ORM\Column(nullable: true)]
private ?int $punishToExclusionType = null;
#[ORM\Column]
private ?bool $isBlameToWarning = null;
#[ORM\Column(nullable: true)]
private ?int $blameToWarningType = null;
#[ORM\Column]
private ?bool $isBlameToPunish = null;
#[ORM\Column(nullable: true)]
private ?int $blameToPunishType = null;
#[ORM\Column]
private ?bool $isBlameToRetained = null;
#[ORM\Column(nullable: true)]
private ?int $blameToRetainedType = null;
#[ORM\Column]
private ?bool $isBlameToExclusion = null;
#[ORM\Column(nullable: true)]
private ?int $blameToExclusionType = null;
#[ORM\Column]
private ?bool $isPunishToRetained = null;
#[ORM\Column(nullable: true)]
private ?int $punishToRetainedType = null;
#[ORM\Column]
private ?bool $isWarningToPunish = null;
#[ORM\Column(nullable: true)]
private ?int $warningToPunishType = null;
#[ORM\Column]
private ?bool $isWarningToBlame = null;
#[ORM\Column(nullable: true)]
private ?int $warningToBlameType = null;
#[ORM\Column]
private ?bool $isWarningToExclusion = null;
#[ORM\Column(nullable: true)]
private ?int $warningToExclusionType = null;
#[ORM\Column(nullable: true)]
private ?bool $isAbsenceToDisciplineConcile = null;
#[ORM\Column(nullable: true)]
private ?int $absenceToDisciplineConcileType = null;
#[ORM\Column(nullable: true)]
private ?bool $isPunishToDisciplineConcile = null;
#[ORM\Column(nullable: true)]
private ?int $punisToDisciplineConcileType = null;
#[ORM\Column(nullable: true)]
private ?bool $isWarningToDisciplineConcile = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $warningToDisciplineConcile = null;
#[ORM\Column(nullable: true)]
private ?int $warningToDisciplineConcileType = null;
#[ORM\Column(nullable: true)]
private ?bool $isBlameToDisciplineConcile = null;
#[ORM\Column(nullable: true)]
private ?int $blameToDisciplineConcileType = null;
#[ORM\Column(nullable: true)]
private ?bool $isRetainedToDisciplineConcile = null;
#[ORM\Column(nullable: true)]
private ?int $retainedToDisciplineConcileType = null;
public function getId(): ?int
{
return $this->id;
}
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 isIsBlame(): ?bool
{
return $this->isBlame;
}
public function setIsBlame(bool $isBlame): static
{
$this->isBlame = $isBlame;
return $this;
}
public function isIsWarning(): ?bool
{
return $this->isWarning;
}
public function setIsWarning(bool $isWarning): static
{
$this->isWarning = $isWarning;
return $this;
}
public function isIsRetained(): ?bool
{
return $this->isRetained;
}
public function setIsRetained(bool $isRetained): static
{
$this->isRetained = $isRetained;
return $this;
}
public function isIsPunish(): ?bool
{
return $this->isPunish;
}
public function setIsPunish(bool $isPunish): static
{
$this->isPunish = $isPunish;
return $this;
}
public function isIsAbsenceToPunish(): ?bool
{
return $this->isAbsenceToPunish;
}
public function setIsAbsenceToPunish(bool $isAbsenceToPunish): static
{
$this->isAbsenceToPunish = $isAbsenceToPunish;
return $this;
}
public function getAbsenceToPunishType(): ?int
{
return $this->absenceToPunishType;
}
public function setAbsenceToPunishType(int $absenceToPunishType): static
{
$this->absenceToPunishType = $absenceToPunishType;
return $this;
}
public function isIsAbsenceToWarning(): ?bool
{
return $this->isAbsenceToWarning;
}
public function setIsAbsenceToWarning(bool $isAbsenceToWarning): static
{
$this->isAbsenceToWarning = $isAbsenceToWarning;
return $this;
}
public function getAbsenceToWarningType(): ?int
{
return $this->absenceToWarningType;
}
public function setAbsenceToWarningType(int $absenceToWarningType): static
{
$this->absenceToWarningType = $absenceToWarningType;
return $this;
}
public function isIsAbsenceToBlame(): ?bool
{
return $this->isAbsenceToBlame;
}
public function setIsAbsenceToBlame(bool $isAbsenceToBlame): static
{
$this->isAbsenceToBlame = $isAbsenceToBlame;
return $this;
}
public function getAbsenceToBlameType(): ?int
{
return $this->absenceToBlameType;
}
public function setAbsenceToBlameType(int $absenceToBlameType): static
{
$this->absenceToBlameType = $absenceToBlameType;
return $this;
}
public function isIsAbsenceToRetained(): ?bool
{
return $this->isAbsenceToRetained;
}
public function setIsAbsenceToRetained(bool $isAbsenceToRetained): static
{
$this->isAbsenceToRetained = $isAbsenceToRetained;
return $this;
}
public function getAbsenceToRetained(): ?int
{
return $this->absenceToRetained;
}
public function setAbsenceToRetained(?int $absenceToRetained): static
{
$this->absenceToRetained = $absenceToRetained;
return $this;
}
public function isIsAbsenceToExclusion(): ?bool
{
return $this->isAbsenceToExclusion;
}
public function setIsAbsenceToExclusion(bool $isAbsenceToExclusion): static
{
$this->isAbsenceToExclusion = $isAbsenceToExclusion;
return $this;
}
public function getAbsenceToExclusionType(): ?int
{
return $this->absenceToExclusionType;
}
public function setAbsenceToExclusionType(int $absenceToExclusionType): static
{
$this->absenceToExclusionType = $absenceToExclusionType;
return $this;
}
public function isIsPunishToWarning(): ?bool
{
return $this->isPunishToWarning;
}
public function setIsPunishToWarning(bool $isPunishToWarning): static
{
$this->isPunishToWarning = $isPunishToWarning;
return $this;
}
public function getPunishToWarningType(): ?int
{
return $this->punishToWarningType;
}
public function setPunishToWarningType(?int $punishToWarningType): static
{
$this->punishToWarningType = $punishToWarningType;
return $this;
}
public function isIsPunishToBlameConfig(): ?bool
{
return $this->isPunishToBlameConfig;
}
public function setIsPunishToBlameConfig(bool $isPunishToBlameConfig): static
{
$this->isPunishToBlameConfig = $isPunishToBlameConfig;
return $this;
}
public function isIsPunishToBlame(): ?bool
{
return $this->isPunishToBlame;
}
public function setIsPunishToBlame(bool $isPunishToBlame): static
{
$this->isPunishToBlame = $isPunishToBlame;
return $this;
}
public function getPunishToBlameType(): ?int
{
return $this->punishToBlameType;
}
public function setPunishToBlameType(?int $punishToBlameType): static
{
$this->punishToBlameType = $punishToBlameType;
return $this;
}
public function isIsPunishToExclusion(): ?bool
{
return $this->isPunishToExclusion;
}
public function setIsPunishToExclusion(bool $isPunishToExclusion): static
{
$this->isPunishToExclusion = $isPunishToExclusion;
return $this;
}
public function getPunishToExclusionType(): ?int
{
return $this->punishToExclusionType;
}
public function setPunishToExclusionType(?int $punishToExclusionType): static
{
$this->punishToExclusionType = $punishToExclusionType;
return $this;
}
public function isIsBlameToWarning(): ?bool
{
return $this->isBlameToWarning;
}
public function setIsBlameToWarning(bool $isBlameToWarning): static
{
$this->isBlameToWarning = $isBlameToWarning;
return $this;
}
public function getBlameToWarningType(): ?int
{
return $this->blameToWarningType;
}
public function setBlameToWarningType(?int $blameToWarningType): static
{
$this->blameToWarningType = $blameToWarningType;
return $this;
}
public function isIsBlameToPunish(): ?bool
{
return $this->isBlameToPunish;
}
public function setIsBlameToPunish(bool $isBlameToPunish): static
{
$this->isBlameToPunish = $isBlameToPunish;
return $this;
}
public function getBlameToPunishType(): ?int
{
return $this->blameToPunishType;
}
public function setBlameToPunishType(?int $blameToPunishType): static
{
$this->blameToPunishType = $blameToPunishType;
return $this;
}
public function isIsBlameToRetained(): ?bool
{
return $this->isBlameToRetained;
}
public function setIsBlameToRetained(bool $isBlameToRetained): static
{
$this->isBlameToRetained = $isBlameToRetained;
return $this;
}
public function getBlameToRetainedType(): ?int
{
return $this->blameToRetainedType;
}
public function setBlameToRetainedType(?int $blameToRetainedType): static
{
$this->blameToRetainedType = $blameToRetainedType;
return $this;
}
public function isIsBlameToExclusion(): ?bool
{
return $this->isBlameToExclusion;
}
public function setIsBlameToExclusion(bool $isBlameToExclusion): static
{
$this->isBlameToExclusion = $isBlameToExclusion;
return $this;
}
public function getBlameToExclusionType(): ?int
{
return $this->blameToExclusionType;
}
public function setBlameToExclusionType(?int $blameToExclusionType): static
{
$this->blameToExclusionType = $blameToExclusionType;
return $this;
}
public function isIsPunishToRetained(): ?bool
{
return $this->isPunishToRetained;
}
public function setIsPunishToRetained(bool $isPunishToRetained): static
{
$this->isPunishToRetained = $isPunishToRetained;
return $this;
}
public function getPunishToRetainedType(): ?int
{
return $this->punishToRetainedType;
}
public function setPunishToRetainedType(?int $punishToRetainedType): static
{
$this->punishToRetainedType = $punishToRetainedType;
return $this;
}
public function isIsWarningToPunish(): ?bool
{
return $this->isWarningToPunish;
}
public function setIsWarningToPunish(bool $isWarningToPunish): static
{
$this->isWarningToPunish = $isWarningToPunish;
return $this;
}
public function getWarningToPunishType(): ?int
{
return $this->warningToPunishType;
}
public function setWarningToPunishType(?int $warningToPunishType): static
{
$this->warningToPunishType = $warningToPunishType;
return $this;
}
public function isIsWarningToBlame(): ?bool
{
return $this->isWarningToBlame;
}
public function setIsWarningToBlame(bool $isWarningToBlame): static
{
$this->isWarningToBlame = $isWarningToBlame;
return $this;
}
public function getWarningToBlameType(): ?int
{
return $this->warningToBlameType;
}
public function setWarningToBlameType(?int $warningToBlameType): static
{
$this->warningToBlameType = $warningToBlameType;
return $this;
}
public function isIsWarningToExclusion(): ?bool
{
return $this->isWarningToExclusion;
}
public function setIsWarningToExclusion(bool $isWarningToExclusion): static
{
$this->isWarningToExclusion = $isWarningToExclusion;
return $this;
}
public function getWarningToExclusionType(): ?int
{
return $this->warningToExclusionType;
}
public function setWarningToExclusionType(?int $warningToExclusionType): static
{
$this->warningToExclusionType = $warningToExclusionType;
return $this;
}
public function isIsAbsenceToDisciplineConcile(): ?bool
{
return $this->isAbsenceToDisciplineConcile;
}
public function setIsAbsenceToDisciplineConcile(?bool $isAbsenceToDisciplineConcile): static
{
$this->isAbsenceToDisciplineConcile = $isAbsenceToDisciplineConcile;
return $this;
}
public function getAbsenceToDisciplineConcileType(): ?int
{
return $this->absenceToDisciplineConcileType;
}
public function setAbsenceToDisciplineConcileType(?int $absenceToDisciplineConcileType): static
{
$this->absenceToDisciplineConcileType = $absenceToDisciplineConcileType;
return $this;
}
public function isIsPunishToDisciplineConcile(): ?bool
{
return $this->isPunishToDisciplineConcile;
}
public function setIsPunishToDisciplineConcile(?bool $isPunishToDisciplineConcile): static
{
$this->isPunishToDisciplineConcile = $isPunishToDisciplineConcile;
return $this;
}
public function getPunisToDisciplineConcileType(): ?int
{
return $this->punisToDisciplineConcileType;
}
public function setPunisToDisciplineConcileType(?int $punisToDisciplineConcileType): static
{
$this->punisToDisciplineConcileType = $punisToDisciplineConcileType;
return $this;
}
public function isIsWarningToDisciplineConcile(): ?bool
{
return $this->isWarningToDisciplineConcile;
}
public function setIsWarningToDisciplineConcile(?bool $isWarningToDisciplineConcile): static
{
$this->isWarningToDisciplineConcile = $isWarningToDisciplineConcile;
return $this;
}
public function getWarningToDisciplineConcile(): ?string
{
return $this->warningToDisciplineConcile;
}
public function setWarningToDisciplineConcile(?string $warningToDisciplineConcile): static
{
$this->warningToDisciplineConcile = $warningToDisciplineConcile;
return $this;
}
public function getWarningToDisciplineConcileType(): ?int
{
return $this->warningToDisciplineConcileType;
}
public function setWarningToDisciplineConcileType(?int $warningToDisciplineConcileType): static
{
$this->warningToDisciplineConcileType = $warningToDisciplineConcileType;
return $this;
}
public function isIsBlameToDisciplineConcile(): ?bool
{
return $this->isBlameToDisciplineConcile;
}
public function setIsBlameToDisciplineConcile(?bool $isBlameToDisciplineConcile): static
{
$this->isBlameToDisciplineConcile = $isBlameToDisciplineConcile;
return $this;
}
public function getBlameToDisciplineConcileType(): ?int
{
return $this->blameToDisciplineConcileType;
}
public function setBlameToDisciplineConcileType(?int $blameToDisciplineConcileType): static
{
$this->blameToDisciplineConcileType = $blameToDisciplineConcileType;
return $this;
}
public function isIsRetainedToDisciplineConcile(): ?bool
{
return $this->isRetainedToDisciplineConcile;
}
public function setIsRetainedToDisciplineConcile(?bool $isRetainedToDisciplineConcile): static
{
$this->isRetainedToDisciplineConcile = $isRetainedToDisciplineConcile;
return $this;
}
public function getRetainedToDisciplineConcileType(): ?int
{
return $this->retainedToDisciplineConcileType;
}
public function setRetainedToDisciplineConcileType(?int $retainedToDisciplineConcileType): static
{
$this->retainedToDisciplineConcileType = $retainedToDisciplineConcileType;
return $this;
}
}