<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* AboutImagen
*
* @ORM\Table(name="about_imagen")
* @ORM\Entity(repositoryClass="App\Repository\AboutImagenRepository")
*/
class AboutImagen
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="imagen", type="string", length=255, nullable=false)
*/
private $imagen;
/**
* @var About
*
* @ORM\ManyToOne(targetEntity="App\Entity\About")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="about_id", referencedColumnName="about_id")
* })
*/
private $about;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
public function getImagen()
{
return $this->imagen;
}
public function setImagen($imagen)
{
$this->imagen = $imagen;
}
/**
* @return About
*/
public function getAbout()
{
return $this->about;
}
public function setAbout($about)
{
$this->about = $about;
}
}