<?php
namespace App\Entity;
use App\Repository\CampusCenterRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: CampusCenterRepository::class)]
class CampusCenter
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $address = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $postalCode = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $city = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $country = null;
#[ORM\Column(type: 'text', nullable: true)]
private ?string $googleMapUrl = null;
#[ORM\Column(type: 'text', nullable: true)]
private ?string $transportMethods = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $contactEmail = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $disabilityReferentName = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $disabilityReferentEmail = null;
#[ORM\ManyToOne(targetEntity: Campus::class, inversedBy: 'campusCenters')]
#[ORM\JoinColumn(nullable: false)]
private ?\App\Entity\Campus $campus = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $address2 = null;
public function getId(): ?int
{
return $this->id;
}
public function getAddress(): ?string
{
return $this->address;
}
public function setAddress(?string $address): self
{
$this->address = $address;
return $this;
}
public function getPostalCode(): ?string
{
return $this->postalCode;
}
public function setPostalCode(?string $postalCode): self
{
$this->postalCode = $postalCode;
return $this;
}
public function getCity(): ?string
{
return $this->city;
}
public function setCity(?string $city): self
{
$this->city = $city;
return $this;
}
public function getCountry(): ?string
{
return $this->country;
}
public function setCountry(?string $country): self
{
$this->country = $country;
return $this;
}
public function getGoogleMapUrl(): ?string
{
return $this->googleMapUrl;
}
public function setGoogleMapUrl(?string $googleMapUrl): self
{
$this->googleMapUrl = $googleMapUrl;
return $this;
}
public function getTransportMethods(): ?string
{
return $this->transportMethods;
}
public function setTransportMethods(?string $transportMethods): self
{
$this->transportMethods = $transportMethods;
return $this;
}
public function getContactEmail(): ?string
{
return $this->contactEmail;
}
public function setContactEmail(?string $contactEmail): self
{
$this->contactEmail = $contactEmail;
return $this;
}
public function getDisabilityReferentName(): ?string
{
return $this->disabilityReferentName;
}
public function setDisabilityReferentName(?string $disabilityReferentName): self
{
$this->disabilityReferentName = $disabilityReferentName;
return $this;
}
public function getDisabilityReferentEmail(): ?string
{
return $this->disabilityReferentEmail;
}
public function setDisabilityReferentEmail(?string $disabilityReferentEmail): self
{
$this->disabilityReferentEmail = $disabilityReferentEmail;
return $this;
}
public function getCampus(): ?Campus
{
return $this->campus;
}
public function setCampus(?Campus $campus): self
{
$this->campus = $campus;
return $this;
}
public function getAddress2(): ?string
{
return $this->address2;
}
public function setAddress2(?string $address2): self
{
$this->address2 = $address2;
return $this;
}
}