src/Entity/CampusCenter.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CampusCenterRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassCampusCenterRepository::class)]
  6. class CampusCenter
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length255nullabletrue)]
  13.     private ?string $address null;
  14.     #[ORM\Column(type'string'length255nullabletrue)]
  15.     private ?string $postalCode null;
  16.     #[ORM\Column(type'string'length255nullabletrue)]
  17.     private ?string $city null;
  18.     #[ORM\Column(type'string'length255nullabletrue)]
  19.     private ?string $country null;
  20.     #[ORM\Column(type'text'nullabletrue)]
  21.     private ?string $googleMapUrl null;
  22.     #[ORM\Column(type'text'nullabletrue)]
  23.     private ?string $transportMethods null;
  24.     #[ORM\Column(type'string'length255nullabletrue)]
  25.     private ?string $contactEmail null;
  26.     #[ORM\Column(type'string'length255nullabletrue)]
  27.     private ?string $disabilityReferentName null;
  28.     #[ORM\Column(type'string'length255nullabletrue)]
  29.     private ?string $disabilityReferentEmail null;
  30.     #[ORM\ManyToOne(targetEntityCampus::class, inversedBy'campusCenters')]
  31.     #[ORM\JoinColumn(nullablefalse)]
  32.     private ?\App\Entity\Campus $campus null;
  33.     #[ORM\Column(type'string'length255nullabletrue)]
  34.     private ?string $address2 null;
  35.     public function getId(): ?int
  36.     {
  37.         return $this->id;
  38.     }
  39.     public function getAddress(): ?string
  40.     {
  41.         return $this->address;
  42.     }
  43.     public function setAddress(?string $address): self
  44.     {
  45.         $this->address $address;
  46.         return $this;
  47.     }
  48.     public function getPostalCode(): ?string
  49.     {
  50.         return $this->postalCode;
  51.     }
  52.     public function setPostalCode(?string $postalCode): self
  53.     {
  54.         $this->postalCode $postalCode;
  55.         return $this;
  56.     }
  57.     public function getCity(): ?string
  58.     {
  59.         return $this->city;
  60.     }
  61.     public function setCity(?string $city): self
  62.     {
  63.         $this->city $city;
  64.         return $this;
  65.     }
  66.     public function getCountry(): ?string
  67.     {
  68.         return $this->country;
  69.     }
  70.     public function setCountry(?string $country): self
  71.     {
  72.         $this->country $country;
  73.         return $this;
  74.     }
  75.     public function getGoogleMapUrl(): ?string
  76.     {
  77.         return $this->googleMapUrl;
  78.     }
  79.     public function setGoogleMapUrl(?string $googleMapUrl): self
  80.     {
  81.         $this->googleMapUrl $googleMapUrl;
  82.         return $this;
  83.     }
  84.     public function getTransportMethods(): ?string
  85.     {
  86.         return $this->transportMethods;
  87.     }
  88.     public function setTransportMethods(?string $transportMethods): self
  89.     {
  90.         $this->transportMethods $transportMethods;
  91.         return $this;
  92.     }
  93.     public function getContactEmail(): ?string
  94.     {
  95.         return $this->contactEmail;
  96.     }
  97.     public function setContactEmail(?string $contactEmail): self
  98.     {
  99.         $this->contactEmail $contactEmail;
  100.         return $this;
  101.     }
  102.     public function getDisabilityReferentName(): ?string
  103.     {
  104.         return $this->disabilityReferentName;
  105.     }
  106.     public function setDisabilityReferentName(?string $disabilityReferentName): self
  107.     {
  108.         $this->disabilityReferentName $disabilityReferentName;
  109.         return $this;
  110.     }
  111.     public function getDisabilityReferentEmail(): ?string
  112.     {
  113.         return $this->disabilityReferentEmail;
  114.     }
  115.     public function setDisabilityReferentEmail(?string $disabilityReferentEmail): self
  116.     {
  117.         $this->disabilityReferentEmail $disabilityReferentEmail;
  118.         return $this;
  119.     }
  120.     public function getCampus(): ?Campus
  121.     {
  122.         return $this->campus;
  123.     }
  124.     public function setCampus(?Campus $campus): self
  125.     {
  126.         $this->campus $campus;
  127.         return $this;
  128.     }
  129.     public function getAddress2(): ?string
  130.     {
  131.         return $this->address2;
  132.     }
  133.     public function setAddress2(?string $address2): self
  134.     {
  135.         $this->address2 $address2;
  136.         return $this;
  137.     }
  138. }