Gina Next Generation
 All Classes Namespaces Files Functions Variables
Access.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  * Access
00009  *
00010  * @ORM\Table(name="access")
00011  * @ORM\Entity
00012  */
00013 class Access
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_access", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idAccess;
00023 
00024     /**
00025      * @var string
00026      *
00027      * @ORM\Column(name="cd_access", type="string", length=100, nullable=true)
00028      */
00029     private $cdAccess;
00030 
00031     /**
00032      * @var string
00033      *
00034      * @ORM\Column(name="lb_access", type="string", length=255, nullable=true)
00035      */
00036     private $lbAccess;
00037 
00038     /**
00039      * @var boolean
00040      *
00041      * @ORM\Column(name="bl_deactivated", type="boolean", nullable=true)
00042      */
00043     private $blDeactivated;
00044 
00045     /**
00046      * @var string
00047      *
00048      * @ORM\Column(name="cm_comment", type="text", nullable=true)
00049      */
00050     private $cmComment;
00051 
00052     /**
00053      * @var \DateTime
00054      *
00055      * @ORM\Column(name="dt_start", type="datetime", nullable=true)
00056      */
00057     private $dtStart;
00058 
00059     /**
00060      * @var \DateTime
00061      *
00062      * @ORM\Column(name="dt_end", type="datetime", nullable=true)
00063      */
00064     private $dtEnd;
00065 
00066     /**
00067      * @var \DateTime
00068      *
00069      * @ORM\Column(name="dt_deactivated", type="datetime", nullable=true)
00070      */
00071     private $dtDeactivated;
00072 
00073     /**
00074      * @var \Branch
00075      *
00076      * @ORM\ManyToOne(targetEntity="Branch")
00077      * @ORM\JoinColumns({
00078      *   @ORM\JoinColumn(name="id_branch", referencedColumnName="id_branch")
00079      * })
00080      */
00081     private $idBranch;
00082 
00083     /**
00084      * @var \Address
00085      *
00086      * @ORM\ManyToOne(targetEntity="Address")
00087      * @ORM\JoinColumns({
00088      *   @ORM\JoinColumn(name="id_address", referencedColumnName="id_address")
00089      * })
00090      */
00091     private $idAddress;
00092 
00093 
00094 
00095     /**
00096      * Get idAccess
00097      *
00098      * @return integer 
00099      */
00100     public function getIdAccess()
00101     {
00102         return $this->idAccess;
00103     }
00104 
00105     /**
00106      * Set cdAccess
00107      *
00108      * @param string $cdAccess
00109      * @return Access
00110      */
00111     public function setCdAccess($cdAccess)
00112     {
00113         $this->cdAccess = $cdAccess;
00114     
00115         return $this;
00116     }
00117 
00118     /**
00119      * Get cdAccess
00120      *
00121      * @return string 
00122      */
00123     public function getCdAccess()
00124     {
00125         return $this->cdAccess;
00126     }
00127 
00128     /**
00129      * Set lbAccess
00130      *
00131      * @param string $lbAccess
00132      * @return Access
00133      */
00134     public function setLbAccess($lbAccess)
00135     {
00136         $this->lbAccess = $lbAccess;
00137     
00138         return $this;
00139     }
00140 
00141     /**
00142      * Get lbAccess
00143      *
00144      * @return string 
00145      */
00146     public function getLbAccess()
00147     {
00148         return $this->lbAccess;
00149     }
00150 
00151     /**
00152      * Set blDeactivated
00153      *
00154      * @param boolean $blDeactivated
00155      * @return Access
00156      */
00157     public function setBlDeactivated($blDeactivated)
00158     {
00159         $this->blDeactivated = $blDeactivated;
00160     
00161         return $this;
00162     }
00163 
00164     /**
00165      * Get blDeactivated
00166      *
00167      * @return boolean 
00168      */
00169     public function getBlDeactivated()
00170     {
00171         return $this->blDeactivated;
00172     }
00173 
00174     /**
00175      * Set cmComment
00176      *
00177      * @param string $cmComment
00178      * @return Access
00179      */
00180     public function setCmComment($cmComment)
00181     {
00182         $this->cmComment = $cmComment;
00183     
00184         return $this;
00185     }
00186 
00187     /**
00188      * Get cmComment
00189      *
00190      * @return string 
00191      */
00192     public function getCmComment()
00193     {
00194         return $this->cmComment;
00195     }
00196 
00197     /**
00198      * Set dtStart
00199      *
00200      * @param \DateTime $dtStart
00201      * @return Access
00202      */
00203     public function setDtStart($dtStart)
00204     {
00205         $this->dtStart = $dtStart;
00206     
00207         return $this;
00208     }
00209 
00210     /**
00211      * Get dtStart
00212      *
00213      * @return \DateTime 
00214      */
00215     public function getDtStart()
00216     {
00217         return $this->dtStart;
00218     }
00219 
00220     /**
00221      * Set dtEnd
00222      *
00223      * @param \DateTime $dtEnd
00224      * @return Access
00225      */
00226     public function setDtEnd($dtEnd)
00227     {
00228         $this->dtEnd = $dtEnd;
00229     
00230         return $this;
00231     }
00232 
00233     /**
00234      * Get dtEnd
00235      *
00236      * @return \DateTime 
00237      */
00238     public function getDtEnd()
00239     {
00240         return $this->dtEnd;
00241     }
00242 
00243     /**
00244      * Set dtDeactivated
00245      *
00246      * @param \DateTime $dtDeactivated
00247      * @return Access
00248      */
00249     public function setDtDeactivated($dtDeactivated)
00250     {
00251         $this->dtDeactivated = $dtDeactivated;
00252     
00253         return $this;
00254     }
00255 
00256     /**
00257      * Get dtDeactivated
00258      *
00259      * @return \DateTime 
00260      */
00261     public function getDtDeactivated()
00262     {
00263         return $this->dtDeactivated;
00264     }
00265 
00266     /**
00267      * Set idBranch
00268      *
00269      * @param \Etrali\GinangBundle\Entity\Branch $idBranch
00270      * @return Access
00271      */
00272     public function setIdBranch(\Etrali\GinangBundle\Entity\Branch $idBranch = null)
00273     {
00274         $this->idBranch = $idBranch;
00275     
00276         return $this;
00277     }
00278 
00279     /**
00280      * Get idBranch
00281      *
00282      * @return \Etrali\GinangBundle\Entity\Branch 
00283      */
00284     public function getIdBranch()
00285     {
00286         return $this->idBranch;
00287     }
00288 
00289     /**
00290      * Set idAddress
00291      *
00292      * @param \Etrali\GinangBundle\Entity\Address $idAddress
00293      * @return Access
00294      */
00295     public function setIdAddress(\Etrali\GinangBundle\Entity\Address $idAddress = null)
00296     {
00297         $this->idAddress = $idAddress;
00298     
00299         return $this;
00300     }
00301 
00302     /**
00303      * Get idAddress
00304      *
00305      * @return \Etrali\GinangBundle\Entity\Address 
00306      */
00307     public function getIdAddress()
00308     {
00309         return $this->idAddress;
00310     }
00311 }
 All Classes Namespaces Files Functions Variables