<?php
/**
* CommandeReponse.php
* modified by FMB
* Date: 07/06/2018 at 21:06
*/
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="commande_reponse")
* @ORM\Entity(repositoryClass="App\Repository\CommandeReponseRepository")
*/
class CommandeReponse
{
const DISPO = 0;
const OUT_STOCK = 1;
const NO_NOTE = 2;
const REPRINT_NOTE = 3;
const EMPTY_TYPE = 4;
const REPRINT_NO_NOTE = 6;
const NOTE = 7;
const DAMAGED = 11;
const STOP_COM = 12;
const SUBSTITUTION = 15;
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @ORM\Column(name="description", type="string", length=50)
*/
protected $description;
/**
* @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;
}
/**
* @return mixed
*/
public function __toString()
{
return $this->getDescription();
}
}