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 ?SchoolYear $year null;
  25.     #[ORM\Column(length255nullabletrue)]
  26.     private ?string $name null;
  27.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  28.     private ?string $observation null;
  29.     #[ORM\Column(length255nullabletrue)]
  30.     private ?string $seqMention null;
  31.     #[ORM\Column(length255nullabletrue)]
  32.     private ?string $quarterMention null;
  33.     #[ORM\Column(length255nullabletrue)]
  34.     private ?string $annualMention null;
  35.     #[ORM\Column(length255nullabletrue)]
  36.     private ?string $mention null;
  37.     #[ORM\Column(length255nullabletrue)]
  38.     private ?string $mentionEn null;
  39.     #[ORM\Column(length255nullabletrue)]
  40.     private ?string $message null;
  41.     #[ORM\Column(length255nullabletrue)]
  42.     private ?string $appreciation null;
  43.     #[ORM\Column(length255nullabletrue)]
  44.     private ?string $appreciationEN null;
  45.     #[ORM\Column(length255nullabletrue)]
  46.     private ?string $nameEn null;
  47.     #[ORM\Column(length255nullabletrue)]
  48.     private ?string $observationEn null;
  49.     #[ORM\Column(length255nullabletrue)]
  50.     private ?string $abreviationEn null;
  51.     
  52.     public function getId(): ?int
  53.     {
  54.         return $this->id;
  55.     }
  56.     public function getAbreviation(): ?string
  57.     {
  58.         return $this->abreviation;
  59.     }
  60.     public function setAbreviation(string $abreviation): static
  61.     {
  62.         $this->abreviation $abreviation;
  63.         return $this;
  64.     }
  65.     public function getStart()
  66.     {
  67.         return $this->start;
  68.     }
  69.     public function setStart($start): static
  70.     {
  71.         $this->start $start;
  72.         return $this;
  73.     }
  74.     public function getEnd()
  75.     {
  76.         return $this->end;
  77.     }
  78.     public function setEnd($end): static
  79.     {
  80.         $this->end $end;
  81.         return $this;
  82.     }
  83.     public function getAuthor(): ?User
  84.     {
  85.         return $this->author;
  86.     }
  87.     public function setAuthor(?User $author): static
  88.     {
  89.         $this->author $author;
  90.         return $this;
  91.     }
  92.     public function getYear(): ?SchoolYear
  93.     {
  94.         return $this->year;
  95.     }
  96.     public function setYear(?SchoolYear $year): static
  97.     {
  98.         $this->year $year;
  99.         return $this;
  100.     }
  101.     public function getName(): ?string
  102.     {
  103.         return $this->name;
  104.     }
  105.     public function setName(?string $name): static
  106.     {
  107.         $this->name $name;
  108.         return $this;
  109.     }
  110.     public function getObservation(): ?string
  111.     {
  112.         return $this->observation;
  113.     }
  114.     public function setObservation(?string $observation): static
  115.     {
  116.         $this->observation $observation;
  117.         return $this;
  118.     }
  119.     public function getSeqMention(): ?string
  120.     {
  121.         return $this->seqMention;
  122.     }
  123.     public function setSeqMention(?string $seqMention): static
  124.     {
  125.         $this->seqMention $seqMention;
  126.         return $this;
  127.     }
  128.     public function getQuarterMention(): ?string
  129.     {
  130.         return $this->quarterMention;
  131.     }
  132.     public function setQuarterMention(?string $quarterMention): static
  133.     {
  134.         $this->quarterMention $quarterMention;
  135.         return $this;
  136.     }
  137.     public function getAnnualMention(): ?string
  138.     {
  139.         return $this->annualMention;
  140.     }
  141.     public function setAnnualMention(?string $annualMention): static
  142.     {
  143.         $this->annualMention $annualMention;
  144.         return $this;
  145.     }
  146.     public function getMention(): ?string
  147.     {
  148.         return $this->mention;
  149.     }
  150.     public function setMention(?string $mention): static
  151.     {
  152.         $this->mention $mention;
  153.         return $this;
  154.     }
  155.     public function getMentionEn(): ?string
  156.     {
  157.         return $this->mentionEn;
  158.     }
  159.     public function setMentionEn(?string $mentionEn): static
  160.     {
  161.         $this->mentionEn $mentionEn;
  162.         return $this;
  163.     }
  164.     public function getMessage(): ?string
  165.     {
  166.         return $this->message;
  167.     }
  168.     public function setMessage(?string $message): static
  169.     {
  170.         $this->message $message;
  171.         return $this;
  172.     }
  173.     public function getAppreciation(): ?string
  174.     {
  175.         return $this->appreciation;
  176.     }
  177.     public function setAppreciation(?string $appreciation): static
  178.     {
  179.         $this->appreciation $appreciation;
  180.         return $this;
  181.     }
  182.     
  183.     public function getAppreciationEN(): ?string
  184.     {
  185.         return $this->appreciationEn;
  186.     }
  187.     public function setAppreciationEn(?string $appreciationEn): static
  188.     {
  189.         $this->appreciationEn $appreciationEn;
  190.         return $this;
  191.     }
  192.     public function getNameEn(): ?string
  193.     {
  194.         return $this->nameEn;
  195.     }
  196.     public function setNameEn(?string $nameEn): static
  197.     {
  198.         $this->nameEn $nameEn;
  199.         return $this;
  200.     }
  201.     public function getObservationEn(): ?string
  202.     {
  203.         return $this->observationEn;
  204.     }
  205.     public function setObservationEn(?string $observationEn): static
  206.     {
  207.         $this->observationEn $observationEn;
  208.         return $this;
  209.     }
  210.     public function getAbreviationEn(): ?string
  211.     {
  212.         return $this->abreviationEn;
  213.     }
  214.     public function setAbreviationEn(?string $abreviationEn): static
  215.     {
  216.         $this->abreviationEn $abreviationEn;
  217.         return $this;
  218.     }
  219. }