<?php
namespace App\Entity;
use App\Repository\ContactPageRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\HttpFoundation\File\UploadedFile;
/**
* @ORM\Entity(repositoryClass=ContactPageRepository::class)
*/
class ContactPage
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $address;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $longitude;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $latitude;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $phone;
/**
* @ORM\Column(type="string", length=180, nullable=true)
*/
private $mail;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $website;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $facebook;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $twitter;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $linkedin;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $youtube;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $instagram;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $office;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $description;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $workingHours;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $daysOpen;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $hoursOpen;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $daysClose;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $hoursClose;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $building;
/**
* @Assert\Image(maxSize="2M")
*/
private $file;
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 getLongitude(): ?string
{
return $this->longitude;
}
public function setLongitude(?string $longitude): self
{
$this->longitude = $longitude;
return $this;
}
public function getLatitude(): ?string
{
return $this->latitude;
}
public function setLatitude(?string $latitude): self
{
$this->latitude = $latitude;
return $this;
}
public function getPhone(): ?string
{
return $this->phone;
}
public function setPhone(?string $phone): self
{
$this->phone = $phone;
return $this;
}
public function getMail(): ?string
{
return $this->mail;
}
public function setMail(?string $mail): self
{
$this->mail = $mail;
return $this;
}
public function getWebsite(): ?string
{
return $this->website;
}
public function setWebsite(?string $website): self
{
$this->website = $website;
return $this;
}
public function getFacebook(): ?string
{
return $this->facebook;
}
public function setFacebook(?string $facebook): self
{
$this->facebook = $facebook;
return $this;
}
public function getTwitter(): ?string
{
return $this->twitter;
}
public function setTwitter(?string $twitter): self
{
$this->twitter = $twitter;
return $this;
}
public function getLinkedin(): ?string
{
return $this->linkedin;
}
public function setLinkedin(?string $linkedin): self
{
$this->linkedin = $linkedin;
return $this;
}
public function getYoutube(): ?string
{
return $this->youtube;
}
public function setYoutube(?string $youtube): self
{
$this->youtube = $youtube;
return $this;
}
public function getInstagram(): ?string
{
return $this->instagram;
}
public function setInstagram(?string $instagram): self
{
$this->instagram = $instagram;
return $this;
}
public function getOffice(): ?string
{
return $this->office;
}
public function setOffice(?string $office): self
{
$this->office = $office;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getWorkingHours(): ?string
{
return $this->workingHours;
}
public function setWorkingHours(?string $workingHours): self
{
$this->workingHours = $workingHours;
return $this;
}
public function getDaysOpen(): ?string
{
return $this->daysOpen;
}
public function setDaysOpen(?string $daysOpen): self
{
$this->daysOpen = $daysOpen;
return $this;
}
public function getHoursOpen(): ?string
{
return $this->hoursOpen;
}
public function setHoursOpen(?string $hoursOpen): self
{
$this->hoursOpen = $hoursOpen;
return $this;
}
public function getDaysClose(): ?string
{
return $this->daysClose;
}
public function setDaysClose(?string $daysClose): self
{
$this->daysClose = $daysClose;
return $this;
}
public function getHoursClose(): ?string
{
return $this->hoursClose;
}
public function setHoursClose(?string $hoursClose): self
{
$this->hoursClose = $hoursClose;
return $this;
}
public function getBuilding(): ?string
{
return $this->building;
}
public function setBuilding(?string $building): self
{
$this->building = $building;
return $this;
}
public function getFile()
{
return $this->file;
}
public function setFile($file)
{
$this->file = $file;
return $this;
}
}