<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Moeda
*
* @ORM\Table(name="moeda")
* @ORM\Entity(repositoryClass="App\Repository\MoedaRepository")
*/
class Moeda
{
/**
* @var \Ramsey\Uuid\UuidInterface
*
* @ORM\Id
* @ORM\Column(type="uuid", unique=true)
* @ORM\GeneratedValue(strategy="CUSTOM")
* @ORM\CustomIdGenerator(class="Ramsey\Uuid\Doctrine\UuidGenerator")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="simbolo", type="string", length=255, nullable=true)
*/
private $simbolo;
/**
* @var string
*
* @ORM\Column(name="nome", type="string", length=255, nullable=true)
*/
private $nome;
/**
* @var int
*
* @ORM\Column(name="valor", type="decimal", precision=30, scale=3, nullable=true)
*/
private $valor;
/**
* @return \Ramsey\Uuid\UuidInterface
*/
public function getId()
{
return $this->id;
}
/**
* @param int $id
*/
public function setId(int $id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getSimbolo()
{
return $this->simbolo;
}
/**
* @return string
*/
public function getSymbol()
{
return $this->simbolo;
}
/**
* @param string $simbolo
*/
public function setSimbolo(string $simbolo)
{
$this->simbolo = $simbolo;
}
/**
* @return string
*/
public function getNome()
{
return $this->nome;
}
/**
* @return string
*/
public function getName()
{
return $this->nome;
}
/**
* @param string $nome
*/
public function setNome(string $nome)
{
$this->nome = $nome;
}
/**
* @return int
*/
public function getValor()
{
return $this->valor;
}
/**
*/
public function getValue()
{
return $this->valor;
}
/**
* @param int $valor
*/
public function setValor($valor)
{
$this->valor = $valor;
}
}