<?php
namespace App\Entity;
use App\Repository\AppreciationRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: AppreciationRepository::class)]
class Appreciation
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $abreviation = null;
#[ORM\Column]
private ?float $start = null;
#[ORM\Column]
private ?float $end = null;
#[ORM\ManyToOne(inversedBy: 'appreciations')]
#[ORM\JoinColumn(nullable: false)]
private ?User $author = null;
#[ORM\ManyToOne(inversedBy: 'appreciations')]
#[ORM\JoinColumn(nullable: false)]
private ?School $school = null;
#[ORM\ManyToOne(inversedBy: 'appreciations')]
#[ORM\JoinColumn(nullable: false)]
private ?SchoolYear $year = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $name = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $observation = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $seqMention = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $quarterMention = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $annualMention = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $mention = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $mentionEn = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $message = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $appreciation = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $appreciationEN = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $nameEn = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $observationEn = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $abreviationEn = null;
public function getId(): ?int
{
return $this->id;
}
public function getAbreviation(): ?string
{
return $this->abreviation;
}
public function setAbreviation(string $abreviation): static
{
$this->abreviation = $abreviation;
return $this;
}
public function getStart()
{
return $this->start;
}
public function setStart($start): static
{
$this->start = $start;
return $this;
}
public function getEnd()
{
return $this->end;
}
public function setEnd($end): static
{
$this->end = $end;
return $this;
}
public function getAuthor(): ?User
{
return $this->author;
}
public function setAuthor(?User $author): static
{
$this->author = $author;
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 getName(): ?string
{
return $this->name;
}
public function setName(?string $name): static
{
$this->name = $name;
return $this;
}
public function getObservation(): ?string
{
return $this->observation;
}
public function setObservation(?string $observation): static
{
$this->observation = $observation;
return $this;
}
public function getSeqMention(): ?string
{
return $this->seqMention;
}
public function setSeqMention(?string $seqMention): static
{
$this->seqMention = $seqMention;
return $this;
}
public function getQuarterMention(): ?string
{
return $this->quarterMention;
}
public function setQuarterMention(?string $quarterMention): static
{
$this->quarterMention = $quarterMention;
return $this;
}
public function getAnnualMention(): ?string
{
return $this->annualMention;
}
public function setAnnualMention(?string $annualMention): static
{
$this->annualMention = $annualMention;
return $this;
}
public function getMention(): ?string
{
return $this->mention;
}
public function setMention(?string $mention): static
{
$this->mention = $mention;
return $this;
}
public function getMentionEn(): ?string
{
return $this->mentionEn;
}
public function setMentionEn(?string $mentionEn): static
{
$this->mentionEn = $mentionEn;
return $this;
}
public function getMessage(): ?string
{
return $this->message;
}
public function setMessage(?string $message): static
{
$this->message = $message;
return $this;
}
public function getAppreciation(): ?string
{
return $this->appreciation;
}
public function setAppreciation(?string $appreciation): static
{
$this->appreciation = $appreciation;
return $this;
}
public function getAppreciationEN(): ?string
{
return $this->appreciationEn;
}
public function setAppreciationEn(?string $appreciationEn): static
{
$this->appreciationEn = $appreciationEn;
return $this;
}
public function getNameEn(): ?string
{
return $this->nameEn;
}
public function setNameEn(?string $nameEn): static
{
$this->nameEn = $nameEn;
return $this;
}
public function getObservationEn(): ?string
{
return $this->observationEn;
}
public function setObservationEn(?string $observationEn): static
{
$this->observationEn = $observationEn;
return $this;
}
public function getAbreviationEn(): ?string
{
return $this->abreviationEn;
}
public function setAbreviationEn(?string $abreviationEn): static
{
$this->abreviationEn = $abreviationEn;
return $this;
}
}