<?php

namespace Application\Models;

use Doctrine\ORM\Mapping as ORM;

/**
 * Authorisation
 *
 * @ORM\Table(name="authorisation")
 * @ORM\Entity
 */
class Authorisation
{
    /**
     * @var string
     *
     * @ORM\Column(name="CODE", type="string", length=50, precision=0, scale=0, nullable=false, unique=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $code;

    /**
     * @var string
     *
     * @ORM\Column(name="LABEL", type="string", length=50, precision=0, scale=0, nullable=true, unique=false)
     */
    private $label;

    /**
     * @var string
     *
     * @ORM\Column(name="ACTION", type="string", length=50, precision=0, scale=0, nullable=true, unique=false)
     */
    private $action;

    /**
     * @var string
     *
     * @ORM\Column(name="CONTROLEUR", type="string", length=50, precision=0, scale=0, nullable=true, unique=false)
     */
    private $controleur;

    /**
     * @var integer
     *
     * @ORM\Column(name="STATE", type="smallint", precision=0, scale=0, nullable=true, unique=false)
     */
    private $state;


}
