src/Entity/AcademicPartner.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\AcademicPartnerRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassAcademicPartnerRepository::class)]
  7. class AcademicPartner
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $name null;
  15.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  16.     private ?string $description null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $photo null;
  19.     #[ORM\Column(nullabletrue)]
  20.     private ?int $ordering null;
  21.     #[ORM\Column(nullabletrue)]
  22.     private ?int $status null;
  23.     public function getId(): ?int
  24.     {
  25.         return $this->id;
  26.     }
  27.     public function getName(): ?string
  28.     {
  29.         return $this->name;
  30.     }
  31.     public function setName(?string $name): static
  32.     {
  33.         $this->name $name;
  34.         return $this;
  35.     }
  36.     public function getDescription(): ?string
  37.     {
  38.         return $this->description;
  39.     }
  40.     public function setDescription(?string $description): static
  41.     {
  42.         $this->description $description;
  43.         return $this;
  44.     }
  45.     public function getPhoto(): ?string
  46.     {
  47.         return $this->photo;
  48.     }
  49.     public function setPhoto(?string $photo): static
  50.     {
  51.         $this->photo $photo;
  52.         return $this;
  53.     }
  54.     public function getOrdering(): ?int
  55.     {
  56.         return $this->ordering;
  57.     }
  58.     public function setOrdering(?int $ordering): static
  59.     {
  60.         $this->ordering $ordering;
  61.         return $this;
  62.     }
  63.     public function getStatus(): ?int
  64.     {
  65.         return $this->status;
  66.     }
  67.     public function setStatus(?int $status): static
  68.     {
  69.         $this->status $status;
  70.         return $this;
  71.     }
  72. }