Guest User

Untitled

a guest
Mar 21st, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. <?php
  2.  
  3. namespace App\Entity;
  4.  
  5. use Doctrine\ORM\Mapping as ORM;
  6.  
  7. /**
  8. * @ORM\Entity
  9. */
  10. class Projeto
  11. {
  12. /**
  13. * @ORM\Id
  14. * @ORM\GeneratedValue
  15. * @ORM\Column(type="integer")
  16. */
  17. private $id;
  18.  
  19. /**
  20. * @ORM\Column(type="string")
  21. */
  22. private $nome;
  23.  
  24. private $funcionarios;
  25.  
  26. /**
  27. * @return mixed
  28. */
  29. public function getId()
  30. {
  31. return $this->id;
  32. }
  33.  
  34. /**
  35. * @param mixed $id
  36. */
  37. public function setId($id)
  38. {
  39. $this->id = $id;
  40. }
  41.  
  42. /**
  43. * @return mixed
  44. */
  45. public function getNome()
  46. {
  47. return $this->nome;
  48. }
  49.  
  50. /**
  51. * @param mixed $nome
  52. */
  53. public function setNome($nome)
  54. {
  55. $this->nome = $nome;
  56. }
  57.  
  58. /**
  59. * @return mixed
  60. */
  61. public function getFuncionarios()
  62. {
  63. return $this->funcionarios;
  64. }
  65.  
  66. /**
  67. * @param mixed $funcionarios
  68. */
  69. public function setFuncionarios($funcionarios)
  70. {
  71. $this->funcionarios = $funcionarios;
  72. }
  73. }
Add Comment
Please, Sign In to add comment