Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Acme\ParqueBundle\Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * @ORM\Entity
- * @ORM\Table(name="individuo")
- */
- class Individuo
- {
- /**
- * @ORM\Id
- * @ORM\Column(type="integer")
- * @ORM\GeneratedValue(strategy="AUTO")
- */
- protected $id;
- /**
- * @ORM\Column(type="string", length=100)
- */
- protected $especie;
- /**
- * @ORM\Column(type="string", length=100)
- */
- protected $plantacion;
- /**
- * @ORM\Column(type="double")
- */
- protected $coordx;
- /**
- * @ORM\Column(type="double")
- */
- protected $coordy;
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set especie
- *
- * @param string $especie
- */
- public function setEspecie($especie)
- {
- $this->especie = $especie;
- }
- /**
- * Get especie
- *
- * @return string
- */
- public function getEspecie()
- {
- return $this->especie;
- }
- /**
- * Set plantacion
- *
- * @param string $plantacion
- */
- public function setPlantacion($plantacion)
- {
- $this->plantacion = $plantacion;
- }
- /**
- * Get plantacion
- *
- * @return string
- */
- public function getPlantacion()
- {
- return $this->plantacion;
- }
- /**
- * Set coordx
- *
- * @param double $coordx
- */
- public function setCoordx(\double $coordx)
- {
- $this->coordx = $coordx;
- }
- /**
- * Get coordx
- *
- * @return double
- */
- public function getCoordx()
- {
- return $this->coordx;
- }
- /**
- * Set coordy
- *
- * @param double $coordy
- */
- public function setCoordy(\double $coordy)
- {
- $this->coordy = $coordy;
- }
- /**
- * Get coordy
- *
- * @return double
- */
- public function getCoordy()
- {
- return $this->coordy;
- }
- }
Add Comment
Please, Sign In to add comment