<?php
/**
* CommandeSpecialeType.php
* Created by Stéphane Brun
* Date: 30/04/2018 at 16:56
*/
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="commande_speciale_detail_status")
*/
class CommandeSpecialeDetailStatus
{
/**
*
*/
const MIS_DE_COTE = 1;
const ANNULE = 2;
const COMMANDE_SPECIALE = 3;
const TRANSFERT = 4;
const EN_ATTENTE = 5;
const NOUVEAU = 99;
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @ORM\Column(name="trmdesc", 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;
}
}