educacion.php 1.96 KB
<?php

namespace UBV\PracticaBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * educacion
 *
 * @ORM\Table(name="educacion")
 * @ORM\Entity(repositoryClass="UBV\PracticaBundle\Repository\educacionRepository")
 */
class educacion
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="universidad", type="string", length=255)
     */
    private $universidad;

    /**
     * @var string
     *
     * @ORM\Column(name="titulo", type="string", length=255)
     */
    private $titulo;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="fegreso", type="date")
     */
    private $fegreso;


    /**
     * Get id
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set universidad
     *
     * @param string $universidad
     *
     * @return educacion
     */
    public function setUniversidad($universidad)
    {
        $this->universidad = $universidad;

        return $this;
    }

    /**
     * Get universidad
     *
     * @return string
     */
    public function getUniversidad()
    {
        return $this->universidad;
    }

    /**
     * Set titulo
     *
     * @param string $titulo
     *
     * @return educacion
     */
    public function setTitulo($titulo)
    {
        $this->titulo = $titulo;

        return $this;
    }

    /**
     * Get titulo
     *
     * @return string
     */
    public function getTitulo()
    {
        return $this->titulo;
    }

    /**
     * Set fegreso
     *
     * @param \DateTime $fegreso
     *
     * @return educacion
     */
    public function setFegreso($fegreso)
    {
        $this->fegreso = $fegreso;

        return $this;
    }

    /**
     * Get fegreso
     *
     * @return \DateTime
     */
    public function getFegreso()
    {
        return $this->fegreso;
    }
}