<?php
namespace App\Entity;
use App\Repository\ShopRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ShopRepository::class)
*/
class Shop
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=false)
*/
private $name;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $logo;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $phone;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $mail;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $link;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $description;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $schedule;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $access;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $slug;
public function getId(): ?int
{
return $this->id;
}
/**
* @return mixed
*/
public function getName()
{
return $this->name;
}
/**
* @param mixed $name
* @return Shop
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* @return mixed
*/
public function getLogo()
{
return $this->logo;
}
/**
* @param mixed $logo
* @return Shop
*/
public function setLogo($logo)
{
$this->logo = $logo;
return $this;
}
/**
* @return mixed
*/
public function getPhone()
{
return $this->phone;
}
/**
* @param mixed $phone
* @return Shop
*/
public function setPhone($phone)
{
$this->phone = $phone;
return $this;
}
/**
* @return mixed
*/
public function getMail()
{
return $this->mail;
}
/**
* @param mixed $mail
* @return Shop
*/
public function setMail($mail)
{
$this->mail = $mail;
return $this;
}
/**
* @return mixed
*/
public function getLink()
{
return $this->link;
}
/**
* @param mixed $link
* @return Shop
*/
public function setLink($link)
{
$this->link = $link;
return $this;
}
/**
* @return mixed
*/
public function getDescription()
{
return $this->description;
}
/**
* @param mixed $description
* @return Shop
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* @return mixed
*/
public function getSchedule()
{
return $this->schedule;
}
/**
* @param mixed $schedule
* @return Shop
*/
public function setSchedule($schedule)
{
$this->schedule = $schedule;
return $this;
}
/**
* @return mixed
*/
public function getAccess()
{
return $this->access;
}
/**
* @param mixed $access
* @return Shop
*/
public function setAccess($access)
{
$this->access = $access;
return $this;
}
public function getSlug(): ?string
{
return $this->slug;
}
public function setSlug(?string $slug): self
{
$this->slug = $slug;
return $this;
}
}