src/Entity/Appreciation.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\AppreciationRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassAppreciationRepository::class)]
  7. class Appreciation
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $abreviation null;
  15.     #[ORM\Column]
  16.     private ?float $start null;
  17.     #[ORM\Column]
  18.     private ?float $end null;
  19.     #[ORM\ManyToOne(inversedBy'appreciations')]
  20.     #[ORM\JoinColumn(nullablefalse)]
  21.     private ?User $author null;
  22.     #[ORM\ManyToOne(inversedBy'appreciations')]
  23.     #[ORM\JoinColumn(nullablefalse)]
  24.     private ?School $school null;
  25.     #[ORM\ManyToOne(inversedBy'appreciations')]
  26.     #[ORM\JoinColumn(nullablefalse)]
  27.     private ?SchoolYear $year null;
  28.     #[ORM\Column(length255nullabletrue)]
  29.     private ?string $name null;
  30.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  31.     private ?string $observation null;
  32.     #[ORM\Column(length255nullabletrue)]
  33.     private ?string $seqMention null;
  34.     #[ORM\Column(length255nullabletrue)]
  35.     private ?string $quarterMention null;
  36.     #[ORM\Column(length255nullabletrue)]
  37.     private ?string $annualMention null;
  38.     #[ORM\Column(length255nullabletrue)]
  39.     private ?string $mention null;
  40.     #[ORM\Column(length255nullabletrue)]
  41.     private ?string $mentionEn null;
  42.     #[ORM\Column(length255nullabletrue)]
  43.     private ?string $message null;
  44.     #[ORM\Column(length255nullabletrue)]
  45.     private ?string $appreciation null;
  46.     #[ORM\Column(length255nullabletrue)]
  47.     private ?string $appreciationEN null;
  48.     #[ORM\Column(length255nullabletrue)]
  49.     private ?string $nameEn null;
  50.     #[ORM\Column(length255nullabletrue)]
  51.     private ?string $observationEn null;
  52.     #[ORM\Column(length255nullabletrue)]
  53.     private ?string $abreviationEn null;
  54.     
  55.     public function getId(): ?int
  56.     {
  57.         return $this->id;
  58.     }
  59.     public function getAbreviation(): ?string
  60.     {
  61.         return $this->abreviation;
  62.     }
  63.     public function setAbreviation(string $abreviation): static
  64.     {
  65.         $this->abreviation $abreviation;
  66.         return $this;
  67.     }
  68.     public function getStart()
  69.     {
  70.         return $this->start;
  71.     }
  72.     public function setStart($start): static
  73.     {
  74.         $this->start $start;
  75.         return $this;
  76.     }
  77.     public function getEnd()
  78.     {
  79.         return $this->end;
  80.     }
  81.     public function setEnd($end): static
  82.     {
  83.         $this->end $end;
  84.         return $this;
  85.     }
  86.     public function getAuthor(): ?User
  87.     {
  88.         return $this->author;
  89.     }
  90.     public function setAuthor(?User $author): static
  91.     {
  92.         $this->author $author;
  93.         return $this;
  94.     }
  95.     public function getSchool(): ?School
  96.     {
  97.         return $this->school;
  98.     }
  99.     public function setSchool(?School $school): static
  100.     {
  101.         $this->school $school;
  102.         return $this;
  103.     }
  104.     public function getYear(): ?SchoolYear
  105.     {
  106.         return $this->year;
  107.     }
  108.     public function setYear(?SchoolYear $year): static
  109.     {
  110.         $this->year $year;
  111.         return $this;
  112.     }
  113.     public function getName(): ?string
  114.     {
  115.         return $this->name;
  116.     }
  117.     public function setName(?string $name): static
  118.     {
  119.         $this->name $name;
  120.         return $this;
  121.     }
  122.     public function getObservation(): ?string
  123.     {
  124.         return $this->observation;
  125.     }
  126.     public function setObservation(?string $observation): static
  127.     {
  128.         $this->observation $observation;
  129.         return $this;
  130.     }
  131.     public function getSeqMention(): ?string
  132.     {
  133.         return $this->seqMention;
  134.     }
  135.     public function setSeqMention(?string $seqMention): static
  136.     {
  137.         $this->seqMention $seqMention;
  138.         return $this;
  139.     }
  140.     public function getQuarterMention(): ?string
  141.     {
  142.         return $this->quarterMention;
  143.     }
  144.     public function setQuarterMention(?string $quarterMention): static
  145.     {
  146.         $this->quarterMention $quarterMention;
  147.         return $this;
  148.     }
  149.     public function getAnnualMention(): ?string
  150.     {
  151.         return $this->annualMention;
  152.     }
  153.     public function setAnnualMention(?string $annualMention): static
  154.     {
  155.         $this->annualMention $annualMention;
  156.         return $this;
  157.     }
  158.     public function getMention(): ?string
  159.     {
  160.         return $this->mention;
  161.     }
  162.     public function setMention(?string $mention): static
  163.     {
  164.         $this->mention $mention;
  165.         return $this;
  166.     }
  167.     public function getMentionEn(): ?string
  168.     {
  169.         return $this->mentionEn;
  170.     }
  171.     public function setMentionEn(?string $mentionEn): static
  172.     {
  173.         $this->mentionEn $mentionEn;
  174.         return $this;
  175.     }
  176.     public function getMessage(): ?string
  177.     {
  178.         return $this->message;
  179.     }
  180.     public function setMessage(?string $message): static
  181.     {
  182.         $this->message $message;
  183.         return $this;
  184.     }
  185.     public function getAppreciation(): ?string
  186.     {
  187.         return $this->appreciation;
  188.     }
  189.     public function setAppreciation(?string $appreciation): static
  190.     {
  191.         $this->appreciation $appreciation;
  192.         return $this;
  193.     }
  194.     
  195.     public function getAppreciationEN(): ?string
  196.     {
  197.         return $this->appreciationEn;
  198.     }
  199.     public function setAppreciationEn(?string $appreciationEn): static
  200.     {
  201.         $this->appreciationEn $appreciationEn;
  202.         return $this;
  203.     }
  204.     public function getNameEn(): ?string
  205.     {
  206.         return $this->nameEn;
  207.     }
  208.     public function setNameEn(?string $nameEn): static
  209.     {
  210.         $this->nameEn $nameEn;
  211.         return $this;
  212.     }
  213.     public function getObservationEn(): ?string
  214.     {
  215.         return $this->observationEn;
  216.     }
  217.     public function setObservationEn(?string $observationEn): static
  218.     {
  219.         $this->observationEn $observationEn;
  220.         return $this;
  221.     }
  222.     public function getAbreviationEn(): ?string
  223.     {
  224.         return $this->abreviationEn;
  225.     }
  226.     public function setAbreviationEn(?string $abreviationEn): static
  227.     {
  228.         $this->abreviationEn $abreviationEn;
  229.         return $this;
  230.     }
  231. }