Gina Next Generation
 All Classes Namespaces Files Functions Variables
Trave.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  * Trave
00009  *
00010  * @ORM\Table(name="trave")
00011  * @ORM\Entity
00012  */
00013 class Trave
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_trave", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idTrave;
00023 
00024     /**
00025      * @var string
00026      *
00027      * @ORM\Column(name="cd_trave", type="string", length=15, nullable=false)
00028      */
00029     private $cdTrave;
00030 
00031     /**
00032      * @var string
00033      *
00034      * @ORM\Column(name="lb_trave", type="string", length=100, nullable=true)
00035      */
00036     private $lbTrave;
00037 
00038     /**
00039      * @var boolean
00040      *
00041      * @ORM\Column(name="bl_deactivated", type="boolean", nullable=true)
00042      */
00043     private $blDeactivated;
00044 
00045     /**
00046      * @var \DateTime
00047      *
00048      * @ORM\Column(name="dt_create", type="datetime", nullable=true)
00049      */
00050     private $dtCreate;
00051 
00052     /**
00053      * @var \DateTime
00054      *
00055      * @ORM\Column(name="dt_update", type="datetime", nullable=true)
00056      */
00057     private $dtUpdate;
00058 
00059     /**
00060      * @var \User
00061      *
00062      * @ORM\ManyToOne(targetEntity="User")
00063      * @ORM\JoinColumns({
00064      *   @ORM\JoinColumn(name="id_user_create_by", referencedColumnName="id_user")
00065      * })
00066      */
00067     private $idUserCreateBy;
00068 
00069     /**
00070      * @var \User
00071      *
00072      * @ORM\ManyToOne(targetEntity="User")
00073      * @ORM\JoinColumns({
00074      *   @ORM\JoinColumn(name="id_user_update_by", referencedColumnName="id_user")
00075      * })
00076      */
00077     private $idUserUpdateBy;
00078 
00079     /**
00080      * @var \Room
00081      *
00082      * @ORM\ManyToOne(targetEntity="Room")
00083      * @ORM\JoinColumns({
00084      *   @ORM\JoinColumn(name="id_room", referencedColumnName="id_room")
00085      * })
00086      */
00087     private $idRoom;
00088 
00089 
00090 
00091     /**
00092      * Get idTrave
00093      *
00094      * @return integer 
00095      */
00096     public function getIdTrave()
00097     {
00098         return $this->idTrave;
00099     }
00100 
00101     /**
00102      * Set cdTrave
00103      *
00104      * @param string $cdTrave
00105      * @return Trave
00106      */
00107     public function setCdTrave($cdTrave)
00108     {
00109         $this->cdTrave = $cdTrave;
00110     
00111         return $this;
00112     }
00113 
00114     /**
00115      * Get cdTrave
00116      *
00117      * @return string 
00118      */
00119     public function getCdTrave()
00120     {
00121         return $this->cdTrave;
00122     }
00123 
00124     /**
00125      * Set lbTrave
00126      *
00127      * @param string $lbTrave
00128      * @return Trave
00129      */
00130     public function setLbTrave($lbTrave)
00131     {
00132         $this->lbTrave = $lbTrave;
00133     
00134         return $this;
00135     }
00136 
00137     /**
00138      * Get lbTrave
00139      *
00140      * @return string 
00141      */
00142     public function getLbTrave()
00143     {
00144         return $this->lbTrave;
00145     }
00146 
00147     /**
00148      * Set blDeactivated
00149      *
00150      * @param boolean $blDeactivated
00151      * @return Trave
00152      */
00153     public function setBlDeactivated($blDeactivated)
00154     {
00155         $this->blDeactivated = $blDeactivated;
00156     
00157         return $this;
00158     }
00159 
00160     /**
00161      * Get blDeactivated
00162      *
00163      * @return boolean 
00164      */
00165     public function getBlDeactivated()
00166     {
00167         return $this->blDeactivated;
00168     }
00169 
00170     /**
00171      * Set dtCreate
00172      *
00173      * @param \DateTime $dtCreate
00174      * @return Trave
00175      */
00176     public function setDtCreate($dtCreate)
00177     {
00178         $this->dtCreate = $dtCreate;
00179     
00180         return $this;
00181     }
00182 
00183     /**
00184      * Get dtCreate
00185      *
00186      * @return \DateTime 
00187      */
00188     public function getDtCreate()
00189     {
00190         return $this->dtCreate;
00191     }
00192 
00193     /**
00194      * Set dtUpdate
00195      *
00196      * @param \DateTime $dtUpdate
00197      * @return Trave
00198      */
00199     public function setDtUpdate($dtUpdate)
00200     {
00201         $this->dtUpdate = $dtUpdate;
00202     
00203         return $this;
00204     }
00205 
00206     /**
00207      * Get dtUpdate
00208      *
00209      * @return \DateTime 
00210      */
00211     public function getDtUpdate()
00212     {
00213         return $this->dtUpdate;
00214     }
00215 
00216     /**
00217      * Set idUserCreateBy
00218      *
00219      * @param \Etrali\GinangBundle\Entity\User $idUserCreateBy
00220      * @return Trave
00221      */
00222     public function setIdUserCreateBy(\Etrali\GinangBundle\Entity\User $idUserCreateBy = null)
00223     {
00224         $this->idUserCreateBy = $idUserCreateBy;
00225     
00226         return $this;
00227     }
00228 
00229     /**
00230      * Get idUserCreateBy
00231      *
00232      * @return \Etrali\GinangBundle\Entity\User 
00233      */
00234     public function getIdUserCreateBy()
00235     {
00236         return $this->idUserCreateBy;
00237     }
00238 
00239     /**
00240      * Set idUserUpdateBy
00241      *
00242      * @param \Etrali\GinangBundle\Entity\User $idUserUpdateBy
00243      * @return Trave
00244      */
00245     public function setIdUserUpdateBy(\Etrali\GinangBundle\Entity\User $idUserUpdateBy = null)
00246     {
00247         $this->idUserUpdateBy = $idUserUpdateBy;
00248     
00249         return $this;
00250     }
00251 
00252     /**
00253      * Get idUserUpdateBy
00254      *
00255      * @return \Etrali\GinangBundle\Entity\User 
00256      */
00257     public function getIdUserUpdateBy()
00258     {
00259         return $this->idUserUpdateBy;
00260     }
00261 
00262     /**
00263      * Set idRoom
00264      *
00265      * @param \Etrali\GinangBundle\Entity\Room $idRoom
00266      * @return Trave
00267      */
00268     public function setIdRoom(\Etrali\GinangBundle\Entity\Room $idRoom = null)
00269     {
00270         $this->idRoom = $idRoom;
00271     
00272         return $this;
00273     }
00274 
00275     /**
00276      * Get idRoom
00277      *
00278      * @return \Etrali\GinangBundle\Entity\Room 
00279      */
00280     public function getIdRoom()
00281     {
00282         return $this->idRoom;
00283     }
00284 }
 All Classes Namespaces Files Functions Variables