src/Diplix/KMGBundle/Entity/OrderStatus.php line 10

Open in your IDE?
  1. <?php
  2. namespace Diplix\KMGBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Table(name="dbl_order_stati", indexes={@ORM\Index(name="be_deleted",columns={"be_deleted"})})
  6.  * @ORM\Entity()
  7.  */
  8. class OrderStatus extends BasicSingleRelationEntity
  9. {
  10.     const STATUS_OPEN 1;
  11.     const STATUS_VERMITTELT 2;
  12.     const STATUS_FINISHED 3;
  13.     const STATUS_FEHLFAHRT 4;
  14.     const STATUS_CANCELED 5;
  15.     const STATUS_DRAFT 10;
  16.     const STATUS_INSTANT_ORDER_PENDING 11;
  17.     public static $finishedStates = [
  18.         self::STATUS_FINISHED,
  19.         self::STATUS_FEHLFAHRT
  20.     ];
  21.     /**
  22.      * @ORM\Column(type="integer")
  23.      */
  24.     protected $tamiStatus;
  25.     /**
  26.      * @return mixed
  27.      */
  28.     public function getTamiStatus()
  29.     {
  30.         return $this->tamiStatus;
  31.     }
  32.     /**
  33.      * @param mixed $tamiStatus
  34.      */
  35.     public function setTamiStatus($tamiStatus)
  36.     {
  37.         $this->tamiStatus $tamiStatus;
  38.     }
  39. }