<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
class Contact
{
#[ORM\Id]
#[ORM\Column(type: "integer")]
#[ORM\GeneratedValue(strategy: "AUTO")]
private $id;
#[ORM\Column(type: "string", length: 255, nullable: true)]
private $email;
#[ORM\Column(type: "string", length: 255, nullable: true)]
private $phone;
#[ORM\Column(type: "string", length: 255, nullable: true)]
private $facebook;
#[ORM\Column(type: "string", length: 255, nullable: true)]
private $instagram;
#[ORM\Column(type: "string", length: 255, nullable: true)]
private $address;
#[ORM\Column(type: "string", length: 255, nullable: true)]
private $city;
#[ORM\Column(type: "integer", length: 10, nullable: true)]
private $zip;
#[ORM\Column(length: 255, nullable: true)]
private ?string $website = null;
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
/**
* @param mixed $id
*/
public function setId($id): void
{
$this->id = $id;
}
/**
* @return mixed
*/
public function getEmail()
{
return $this->email;
}
/**
* @param mixed $email
*/
public function setEmail($email): void
{
$this->email = $email;
}
/**
* @return mixed
*/
public function getPhone()
{
return $this->phone;
}
/**
* @param mixed $phone
*/
public function setPhone($phone): void
{
$this->phone = $phone;
}
/**
* @return mixed
*/
public function getFacebook()
{
return $this->facebook;
}
/**
* @param mixed $facebook
*/
public function setFacebook($facebook): void
{
$this->facebook = $facebook;
}
/**
* @return mixed
*/
public function getInstagram()
{
return $this->instagram;
}
/**
* @param mixed $instagram
*/
public function setInstagram($instagram): void
{
$this->instagram = $instagram;
}
/**
* @return mixed
*/
public function getAddress()
{
return $this->address;
}
/**
* @param mixed $address
*/
public function setAddress($address): void
{
$this->address = $address;
}
/**
* @return mixed
*/
public function getCity()
{
return $this->city;
}
/**
* @param mixed $city
*/
public function setCity($city): void
{
$this->city = $city;
}
/**
* @return mixed
*/
public function getZip()
{
return $this->zip;
}
/**
* @param mixed $zip
*/
public function setZip($zip): void
{
$this->zip = $zip;
}
public function getWebsite(): ?string
{
return $this->website;
}
public function setWebsite(?string $website): static
{
$this->website = $website;
return $this;
}
}