Guest User

Untitled

a guest
Dec 13th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. <?php
  2. namespace Acme\ParqueBundle\Entity;
  3.  
  4. use Doctrine\ORM\Mapping as ORM;
  5.  
  6. /**
  7. * @ORM\Entity
  8. * @ORM\Table(name="individuo")
  9. */
  10. class Individuo
  11. {
  12. /**
  13. * @ORM\Id
  14. * @ORM\Column(type="integer")
  15. * @ORM\GeneratedValue(strategy="AUTO")
  16. */
  17. protected $id;
  18.  
  19. /**
  20. * @ORM\Column(type="string", length=100)
  21. */
  22. protected $especie;
  23.  
  24. /**
  25. * @ORM\Column(type="string", length=100)
  26. */
  27. protected $plantacion;
  28.  
  29. /**
  30. * @ORM\Column(type="double")
  31. */
  32. protected $coordx;
  33. /**
  34. * @ORM\Column(type="double")
  35. */
  36. protected $coordy;
  37.  
  38.  
  39.  
  40. /**
  41. * Get id
  42. *
  43. * @return integer
  44. */
  45. public function getId()
  46. {
  47. return $this->id;
  48. }
  49.  
  50. /**
  51. * Set especie
  52. *
  53. * @param string $especie
  54. */
  55. public function setEspecie($especie)
  56. {
  57. $this->especie = $especie;
  58. }
  59.  
  60. /**
  61. * Get especie
  62. *
  63. * @return string
  64. */
  65. public function getEspecie()
  66. {
  67. return $this->especie;
  68. }
  69.  
  70. /**
  71. * Set plantacion
  72. *
  73. * @param string $plantacion
  74. */
  75. public function setPlantacion($plantacion)
  76. {
  77. $this->plantacion = $plantacion;
  78. }
  79.  
  80. /**
  81. * Get plantacion
  82. *
  83. * @return string
  84. */
  85. public function getPlantacion()
  86. {
  87. return $this->plantacion;
  88. }
  89.  
  90. /**
  91. * Set coordx
  92. *
  93. * @param double $coordx
  94. */
  95. public function setCoordx(\double $coordx)
  96. {
  97. $this->coordx = $coordx;
  98. }
  99.  
  100. /**
  101. * Get coordx
  102. *
  103. * @return double
  104. */
  105. public function getCoordx()
  106. {
  107. return $this->coordx;
  108. }
  109.  
  110. /**
  111. * Set coordy
  112. *
  113. * @param double $coordy
  114. */
  115. public function setCoordy(\double $coordy)
  116. {
  117. $this->coordy = $coordy;
  118. }
  119.  
  120. /**
  121. * Get coordy
  122. *
  123. * @return double
  124. */
  125. public function getCoordy()
  126. {
  127. return $this->coordy;
  128. }
  129. }
Add Comment
Please, Sign In to add comment