<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Security\Core\User\UserInterface;
/**
* Shop
*
* @ORM\Table(name="shops")
* @ORM\Entity
*/
class Shop
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $idShop;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=128, nullable=false, options={"default"="''"})
*/
private $name = '\'\'';
/**
* @var bool
*
* @ORM\Column(name="active", type="boolean", nullable=false)
*/
private $active = '0';
/**
* @var string
*
* @ORM\Column(name="currency", type="string", length=3, nullable=false, options={"default"="'EUR'"})
*/
private $currency = '\'\'';
public function getIdShop(): ?int
{
return $this->idShop;
}
public function getName(): ?string
{
return $this->name;
}
public function getActive(): ?bool
{
return $this->active;
}
}