File: /var/www/dvpis2026/dvpis.kaunokolegija.lt/src/Entity/YearInformation.php
<?php
namespace App\Entity;
use App\Repository\YearInformationRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Table(name: 'year_information')]
#[ORM\Entity(repositoryClass: YearInformationRepository::class)]
class YearInformation
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(name: 'year', type: 'integer', unique: true)]
private int $year;
#[ORM\Column(name: 'lecturer_work_hours', type: 'integer')]
private int $lecturerWorkHours;
#[ORM\Column(name: 'bma', type: 'float', nullable: true)]
private ?float $bma = null;
#[ORM\Column(name: 'bsi', type: 'float', nullable: true)]
private ?float $bsi = null;
#[ORM\Column(name: 'lecturer_du', type: 'float', nullable: true)]
private ?float $lecturerDu = null;
#[ORM\Column(name: 'employee_du', type: 'float', nullable: true)]
private ?float $employeeDu = null;
#[ORM\Column(name: 'services', type: 'float', nullable: true)]
private ?float $services = null;
#[ORM\Column(name: 'students', type: 'float', nullable: true)]
private ?float $students = null;
#[ORM\Column(name: 'evaluation_coef', type: 'float', nullable: true)]
private ?float $evaluationCoef = null;
#[ORM\Column(name: 'preparation_coef', type: 'float', nullable: true)]
private ?float $preparationCoef = null;
public function getId(): ?int
{
return $this->id;
}
public function getYear(): ?int
{
return $this->year;
}
public function setYear(int $year): static
{
$this->year = $year;
return $this;
}
public function getLecturerWorkHours(): ?int
{
return $this->lecturerWorkHours;
}
public function setLecturerWorkHours(int $lecturerWorkHours): static
{
$this->lecturerWorkHours = $lecturerWorkHours;
return $this;
}
public function getBma(): ?float
{
return $this->bma;
}
public function setBma(?float $bma): static
{
$this->bma = $bma;
return $this;
}
public function getBsi(): ?float
{
return $this->bsi;
}
public function setBsi(?float $bsi): static
{
$this->bsi = $bsi;
return $this;
}
public function getLecturerDu(): ?float
{
return $this->lecturerDu;
}
public function setLecturerDu(?float $lecturerDu): static
{
$this->lecturerDu = $lecturerDu;
return $this;
}
public function getEmployeeDu(): ?float
{
return $this->employeeDu;
}
public function setEmployeeDu(?float $employeeDu): static
{
$this->employeeDu = $employeeDu;
return $this;
}
public function getServices(): ?float
{
return $this->services;
}
public function setServices(?float $services): static
{
$this->services = $services;
return $this;
}
public function getStudents(): ?float
{
return $this->students;
}
public function setStudents(?float $students): static
{
$this->students = $students;
return $this;
}
public function getEvaluationCoef(): ?float
{
return $this->evaluationCoef;
}
public function setEvaluationCoef(?float $evaluationCoef): static
{
$this->evaluationCoef = $evaluationCoef;
return $this;
}
public function getPreparationCoef(): ?float
{
return $this->preparationCoef;
}
public function setPreparationCoef(?float $preparationCoef): static
{
$this->preparationCoef = $preparationCoef;
return $this;
}
}