Gina Next Generation
 All Classes Namespaces Files Functions Variables
TGroup.php
Go to the documentation of this file.
00001 <?php
00002 
00003 namespace Etrali\GinangBundle\Entity;
00004 
00005 use Doctrine\ORM\Mapping as ORM;
00006 
00007 /**
00008  * TGroup
00009  *
00010  * @ORM\Table(name="t_group")
00011  * @ORM\Entity
00012  */
00013 class TGroup
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_group", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idGroup;
00023 
00024     /**
00025      * @var string
00026      *
00027      * @ORM\Column(name="lb_group", type="string", length=100, nullable=false)
00028      */
00029     private $lbGroup;
00030 
00031     /**
00032      * @var boolean
00033      *
00034      * @ORM\Column(name="bl_public", type="boolean", nullable=true)
00035      */
00036     private $blPublic;
00037 
00038     /**
00039      * @var boolean
00040      *
00041      * @ORM\Column(name="bl_deactivated", type="boolean", nullable=true)
00042      */
00043     private $blDeactivated;
00044 
00045     /**
00046      * @var \TGroup
00047      *
00048      * @ORM\ManyToOne(targetEntity="TGroup")
00049      * @ORM\JoinColumns({
00050      *   @ORM\JoinColumn(name="id_group_parent", referencedColumnName="id_group")
00051      * })
00052      */
00053     private $idGroupParent;
00054 
00055 
00056 
00057     /**
00058      * Get idGroup
00059      *
00060      * @return integer 
00061      */
00062     public function getIdGroup()
00063     {
00064         return $this->idGroup;
00065     }
00066 
00067     /**
00068      * Set lbGroup
00069      *
00070      * @param string $lbGroup
00071      * @return TGroup
00072      */
00073     public function setLbGroup($lbGroup)
00074     {
00075         $this->lbGroup = $lbGroup;
00076     
00077         return $this;
00078     }
00079 
00080     /**
00081      * Get lbGroup
00082      *
00083      * @return string 
00084      */
00085     public function getLbGroup()
00086     {
00087         return $this->lbGroup;
00088     }
00089 
00090     /**
00091      * Set blPublic
00092      *
00093      * @param boolean $blPublic
00094      * @return TGroup
00095      */
00096     public function setBlPublic($blPublic)
00097     {
00098         $this->blPublic = $blPublic;
00099     
00100         return $this;
00101     }
00102 
00103     /**
00104      * Get blPublic
00105      *
00106      * @return boolean 
00107      */
00108     public function getBlPublic()
00109     {
00110         return $this->blPublic;
00111     }
00112 
00113     /**
00114      * Set blDeactivated
00115      *
00116      * @param boolean $blDeactivated
00117      * @return TGroup
00118      */
00119     public function setBlDeactivated($blDeactivated)
00120     {
00121         $this->blDeactivated = $blDeactivated;
00122     
00123         return $this;
00124     }
00125 
00126     /**
00127      * Get blDeactivated
00128      *
00129      * @return boolean 
00130      */
00131     public function getBlDeactivated()
00132     {
00133         return $this->blDeactivated;
00134     }
00135 
00136     /**
00137      * Set idGroupParent
00138      *
00139      * @param \Etrali\GinangBundle\Entity\TGroup $idGroupParent
00140      * @return TGroup
00141      */
00142     public function setIdGroupParent(\Etrali\GinangBundle\Entity\TGroup $idGroupParent = null)
00143     {
00144         $this->idGroupParent = $idGroupParent;
00145     
00146         return $this;
00147     }
00148 
00149     /**
00150      * Get idGroupParent
00151      *
00152      * @return \Etrali\GinangBundle\Entity\TGroup 
00153      */
00154     public function getIdGroupParent()
00155     {
00156         return $this->idGroupParent;
00157     }
00158 }
 All Classes Namespaces Files Functions Variables