Gina Next Generation
 All Classes Namespaces Files Functions Variables
Protocol.php
Go to the documentation of this file.
00001 <?php
00002 
00003 namespace Etrali\GinangBundle\Entity;
00004 use Symfony\Component\Validator\Constraints as Assert;
00005 use Doctrine\ORM\Mapping as ORM;
00006 
00007 /**
00008  * Protocol
00009  *
00010  * @ORM\Table(name="protocol")
00011  * @ORM\Entity
00012  */
00013 class Protocol
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_protocol", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idProtocol;
00023 
00024     /**
00025      * @var string
00026      *
00027      * @ORM\Column(name="cd_protocol", type="string", length=15, nullable=true)
00028      * @Assert\NotBlank()
00029      * @Assert\MaxLength(20)
00030      */
00031     private $cdProtocol;
00032     
00033     /**
00034      * @var string
00035      *
00036      * @ORM\Column(name="lb_protocol", type="string", length=45, nullable=true)
00037      */
00038     private $lbProtocol;
00039 
00040     /**
00041      * @var boolean
00042      *
00043      * @ORM\Column(name="bl_deactivated", type="boolean", nullable=true)
00044      */
00045     private $blDeactivated=true;
00046 
00047     /**
00048      * @var \DateTime
00049      *
00050      * @ORM\Column(name="dt_create", type="datetime", nullable=true)
00051      */
00052     private $dtCreate;
00053 
00054     /**
00055      * @var \DateTime
00056      *
00057      * @ORM\Column(name="dt_update", type="datetime", nullable=true)
00058      */
00059     private $dtUpdate;    
00060     
00061     /**
00062      * Get idProtocol
00063      *
00064      * @return integer 
00065      */
00066     public function getIdProtocol()
00067     {
00068         return $this->idProtocol;
00069     }
00070 
00071     /**
00072      * Set cdProtocol
00073      *
00074      * @param string $cdProtocol
00075      * @return Protocol
00076      */
00077     public function setCdProtocol($cdProtocol)
00078     {
00079         $this->cdProtocol = $cdProtocol;
00080     
00081         return $this;
00082     }
00083 
00084     /**
00085      * Get cdProtocol
00086      *
00087      * @return string 
00088      */
00089     public function getCdProtocol()
00090     {
00091         return $this->cdProtocol;
00092     }    
00093     
00094     /**
00095      * Set lbProtocol
00096      *
00097      * @param string $lbProtocol
00098      * @return Protocol
00099      */
00100     public function setLbProtocol($lbProtocol)
00101     {
00102         $this->lbProtocol = $lbProtocol;
00103     
00104         return $this;
00105     }
00106 
00107     /**
00108      * Get lbProtocol
00109      *
00110      * @return string 
00111      */
00112     public function getLbProtocol()
00113     {
00114         return $this->lbProtocol;
00115     }
00116     
00117    /**
00118      * Set blDeactivated
00119      *
00120      * @param boolean $blDeactivated
00121      * @return Protocol
00122      */
00123     public function setBlDeactivated($blDeactivated)
00124     {
00125         $this->blDeactivated = $blDeactivated;
00126     
00127         return $this;
00128     }
00129 
00130     /**
00131      * Get blDeactivated
00132      *
00133      * @return boolean 
00134      */
00135     public function getBlDeactivated()
00136     {
00137         return $this->blDeactivated;
00138     }
00139 
00140     /**
00141      * Set dtCreate
00142      *
00143      * @param \DateTime $dtCreate
00144      * @return Protocol
00145      */
00146     public function setDtCreate($dtCreate)
00147     {
00148         $this->dtCreate = $dtCreate;
00149     
00150         return $this;
00151     }
00152 
00153     /**
00154      * Get dtCreate
00155      *
00156      * @return \DateTime 
00157      */
00158     public function getDtCreate()
00159     {
00160         return $this->dtCreate;
00161     }
00162 
00163     /**
00164      * Set dtUpdate
00165      *
00166      * @param \DateTime $dtUpdate
00167      * @return Protocol
00168      */
00169     public function setDtUpdate($dtUpdate)
00170     {
00171         $this->dtUpdate = $dtUpdate;
00172     
00173         return $this;
00174     }
00175 
00176     /**
00177      * Get dtUpdate
00178      *
00179      * @return \DateTime 
00180      */
00181     public function getDtUpdate()
00182     {
00183         return $this->dtUpdate;
00184     }
00185 }
 All Classes Namespaces Files Functions Variables