<?php
/**
* ReceptionType.php
* Created by Stéphane Brun
* Date: 17/07/2018 at 16:56
*/
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="reception_type")
*/
class ReceptionType
{
const FERME = 1;
const DEPOT = 2;
const MISE_EN_PLACE = 3;
const OFFICE = 4;
const SOLDE = 5;
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @ORM\Column(name="description", type="string", length=50)
*/
protected $description;
public function __toString()
{
return $this->getDescription();
}
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
/**
* @return mixed
*/
public function getDescription()
{
return $this->description;
}
/**
* @param mixed $description
*/
public function setDescription($description)
{
$this->description = $description;
}
}