<?php
namespace App\Entity;
use App\Repository\CurrencyRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CurrencyRepository::class)
*/
class Currency
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $shortcut;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $name_pl;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $name_en;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $symbol;
public function getId(): ?int
{
return $this->id;
}
public function getShortcut(): ?string
{
return $this->shortcut;
}
public function setShortcut(?string $shortcut): self
{
$this->shortcut = $shortcut;
return $this;
}
public function getNamePl(): ?string
{
return $this->name_pl;
}
public function setNamePl(?string $name_pl): self
{
$this->name_pl = $name_pl;
return $this;
}
public function getNameEn(): ?string
{
return $this->name_en;
}
public function setNameEn(?string $name_en): self
{
$this->name_en = $name_en;
return $this;
}
public function getSymbol(): ?string
{
return $this->symbol;
}
public function setSymbol(?string $symbol): self
{
$this->symbol = $symbol;
return $this;
}
}