Gina Next Generation
 All Classes Namespaces Files Functions Variables
History.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  * History
00009  *
00010  * @ORM\Table(name="history")
00011  * @ORM\Entity
00012  */
00013 class History
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_history", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idHistory;
00023 
00024     /**
00025      * @var integer
00026      *
00027      * @ORM\Column(name="id_object", type="integer", nullable=true)
00028      */
00029     private $idObject;
00030 
00031     /**
00032      * @var string
00033      *
00034      * @ORM\Column(name="lb_component", type="string", length=255, nullable=true)
00035      */
00036     private $lbComponent;
00037 
00038     /**
00039      * @var \DateTime
00040      *
00041      * @ORM\Column(name="dt_start", type="datetime", nullable=true)
00042      */
00043     private $dtStart;
00044 
00045     /**
00046      * @var \DateTime
00047      *
00048      * @ORM\Column(name="dt_end", type="datetime", nullable=true)
00049      */
00050     private $dtEnd;
00051 
00052     /**
00053      * @var \HistoryType
00054      *
00055      * @ORM\ManyToOne(targetEntity="HistoryType")
00056      * @ORM\JoinColumns({
00057      *   @ORM\JoinColumn(name="id_history_type", referencedColumnName="id_history_type")
00058      * })
00059      */
00060     private $idHistoryType;
00061 
00062     /**
00063      * @var \ObjectType
00064      *
00065      * @ORM\ManyToOne(targetEntity="ObjectType")
00066      * @ORM\JoinColumns({
00067      *   @ORM\JoinColumn(name="id_object_type", referencedColumnName="id_object_type")
00068      * })
00069      */
00070     private $idObjectType;
00071 
00072     /**
00073      * @var \User
00074      *
00075      * @ORM\ManyToOne(targetEntity="User")
00076      * @ORM\JoinColumns({
00077      *   @ORM\JoinColumn(name="id_user", referencedColumnName="id_user")
00078      * })
00079      */
00080     private $idUser;
00081 
00082 
00083 
00084     /**
00085      * Get idHistory
00086      *
00087      * @return integer 
00088      */
00089     public function getIdHistory()
00090     {
00091         return $this->idHistory;
00092     }
00093 
00094     /**
00095      * Set idObject
00096      *
00097      * @param integer $idObject
00098      * @return History
00099      */
00100     public function setIdObject($idObject)
00101     {
00102         $this->idObject = $idObject;
00103     
00104         return $this;
00105     }
00106 
00107     /**
00108      * Get idObject
00109      *
00110      * @return integer 
00111      */
00112     public function getIdObject()
00113     {
00114         return $this->idObject;
00115     }
00116 
00117     /**
00118      * Set lbComponent
00119      *
00120      * @param string $lbComponent
00121      * @return History
00122      */
00123     public function setLbComponent($lbComponent)
00124     {
00125         $this->lbComponent = $lbComponent;
00126     
00127         return $this;
00128     }
00129 
00130     /**
00131      * Get lbComponent
00132      *
00133      * @return string 
00134      */
00135     public function getLbComponent()
00136     {
00137         return $this->lbComponent;
00138     }
00139 
00140     /**
00141      * Set dtStart
00142      *
00143      * @param \DateTime $dtStart
00144      * @return History
00145      */
00146     public function setDtStart($dtStart)
00147     {
00148         $this->dtStart = $dtStart;
00149     
00150         return $this;
00151     }
00152 
00153     /**
00154      * Get dtStart
00155      *
00156      * @return \DateTime 
00157      */
00158     public function getDtStart()
00159     {
00160         return $this->dtStart;
00161     }
00162 
00163     /**
00164      * Set dtEnd
00165      *
00166      * @param \DateTime $dtEnd
00167      * @return History
00168      */
00169     public function setDtEnd($dtEnd)
00170     {
00171         $this->dtEnd = $dtEnd;
00172     
00173         return $this;
00174     }
00175 
00176     /**
00177      * Get dtEnd
00178      *
00179      * @return \DateTime 
00180      */
00181     public function getDtEnd()
00182     {
00183         return $this->dtEnd;
00184     }
00185 
00186     /**
00187      * Set idHistoryType
00188      *
00189      * @param \Etrali\GinangBundle\Entity\HistoryType $idHistoryType
00190      * @return History
00191      */
00192     public function setIdHistoryType(\Etrali\GinangBundle\Entity\HistoryType $idHistoryType = null)
00193     {
00194         $this->idHistoryType = $idHistoryType;
00195     
00196         return $this;
00197     }
00198 
00199     /**
00200      * Get idHistoryType
00201      *
00202      * @return \Etrali\GinangBundle\Entity\HistoryType 
00203      */
00204     public function getIdHistoryType()
00205     {
00206         return $this->idHistoryType;
00207     }
00208 
00209     /**
00210      * Set idObjectType
00211      *
00212      * @param \Etrali\GinangBundle\Entity\ObjectType $idObjectType
00213      * @return History
00214      */
00215     public function setIdObjectType(\Etrali\GinangBundle\Entity\ObjectType $idObjectType = null)
00216     {
00217         $this->idObjectType = $idObjectType;
00218     
00219         return $this;
00220     }
00221 
00222     /**
00223      * Get idObjectType
00224      *
00225      * @return \Etrali\GinangBundle\Entity\ObjectType 
00226      */
00227     public function getIdObjectType()
00228     {
00229         return $this->idObjectType;
00230     }
00231 
00232     /**
00233      * Set idUser
00234      *
00235      * @param \Etrali\GinangBundle\Entity\User $idUser
00236      * @return History
00237      */
00238     public function setIdUser(\Etrali\GinangBundle\Entity\User $idUser = null)
00239     {
00240         $this->idUser = $idUser;
00241     
00242         return $this;
00243     }
00244 
00245     /**
00246      * Get idUser
00247      *
00248      * @return \Etrali\GinangBundle\Entity\User 
00249      */
00250     public function getIdUser()
00251     {
00252         return $this->idUser;
00253     }
00254 }
 All Classes Namespaces Files Functions Variables