<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Intitule
*
* @ORM\Table(name="intitule", options={"collate"="latin1_general_ci","charset"="latin1"})
* @ORM\Entity(repositoryClass="App\Repository\IntituleRepository")
*/
class Intitule
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="type", type="string", length=20, nullable=false)
*/
private $type;
/**
* @var string
*
* @ORM\Column(name="description", type="string", length=100, nullable=false)
*/
private $description;
/**
* @var string
*
* @ORM\Column(name="image", type="string", length=100, nullable=false)
*/
private $image;
/**
* @var boolean
*
* @ORM\Column(name="prospect", type="boolean", nullable=false)
*/
private $prospect;
public function __toString()
{
return $this->description;
}
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set type
*
* @param string $type
* @return Intitule
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Get type
*
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* Set description
*
* @param string $description
* @return Intitule
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set image
*
* @param string $image
* @return Intitule
*/
public function setImage($image)
{
$this->image = $image;
return $this;
}
/**
* Get image
*
* @return string
*/
public function getImage()
{
return $this->image;
}
/**
* Set prospect
*
* @param boolean $prospect
* @return Intitule
*/
public function setProspect($prospect)
{
$this->prospect = $prospect;
return $this;
}
/**
* Get prospect
*
* @return boolean
*/
public function getProspect()
{
return $this->prospect;
}
}