Skip to content

Instantly share code, notes, and snippets.

@andrechavesg
Created March 12, 2018 15:44
Show Gist options
  • Save andrechavesg/91fb3de83c4dbfd4febce9c6f8fbbef0 to your computer and use it in GitHub Desktop.
Save andrechavesg/91fb3de83c4dbfd4febce9c6f8fbbef0 to your computer and use it in GitHub Desktop.
<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*/
class Projeto
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string")
*/
private $nome;
private $funcionarios;
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
/**
* @param mixed $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return mixed
*/
public function getNome()
{
return $this->nome;
}
/**
* @param mixed $nome
*/
public function setNome($nome)
{
$this->nome = $nome;
}
/**
* @return mixed
*/
public function getFuncionarios()
{
return $this->funcionarios;
}
/**
* @param mixed $funcionarios
*/
public function setFuncionarios($funcionarios)
{
$this->funcionarios = $funcionarios;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment