Gina Next Generation
 All Classes Namespaces Files Functions Variables
Log.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  * Log
00009  *
00010  * @ORM\Table(name="log")
00011  * @ORM\Entity
00012  */
00013 class Log
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_log", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idLog;
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="cm_comment", type="string", length=255, nullable=true)
00035      */
00036     private $cmComment;
00037 
00038     /**
00039      * @var \DateTime
00040      *
00041      * @ORM\Column(name="dt_start", type="datetime", nullable=true)
00042      */
00043     private $dtStart;
00044 
00045     /**
00046      * @var \ObjectType
00047      *
00048      * @ORM\ManyToOne(targetEntity="ObjectType")
00049      * @ORM\JoinColumns({
00050      *   @ORM\JoinColumn(name="id_object_type", referencedColumnName="id_object_type")
00051      * })
00052      */
00053     private $idObjectType;
00054 
00055     /**
00056      * @var \User
00057      *
00058      * @ORM\ManyToOne(targetEntity="User")
00059      * @ORM\JoinColumns({
00060      *   @ORM\JoinColumn(name="id_user", referencedColumnName="id_user")
00061      * })
00062      */
00063     private $idUser;
00064 
00065 
00066 
00067     /**
00068      * Get idLog
00069      *
00070      * @return integer 
00071      */
00072     public function getIdLog()
00073     {
00074         return $this->idLog;
00075     }
00076 
00077     /**
00078      * Set idObject
00079      *
00080      * @param integer $idObject
00081      * @return Log
00082      */
00083     public function setIdObject($idObject)
00084     {
00085         $this->idObject = $idObject;
00086     
00087         return $this;
00088     }
00089 
00090     /**
00091      * Get idObject
00092      *
00093      * @return integer 
00094      */
00095     public function getIdObject()
00096     {
00097         return $this->idObject;
00098     }
00099 
00100     /**
00101      * Set cmComment
00102      *
00103      * @param string $cmComment
00104      * @return Log
00105      */
00106     public function setCmComment($cmComment)
00107     {
00108         $this->cmComment = $cmComment;
00109     
00110         return $this;
00111     }
00112 
00113     /**
00114      * Get cmComment
00115      *
00116      * @return string 
00117      */
00118     public function getCmComment()
00119     {
00120         return $this->cmComment;
00121     }
00122 
00123     /**
00124      * Set dtStart
00125      *
00126      * @param \DateTime $dtStart
00127      * @return Log
00128      */
00129     public function setDtStart($dtStart)
00130     {
00131         $this->dtStart = $dtStart;
00132     
00133         return $this;
00134     }
00135 
00136     /**
00137      * Get dtStart
00138      *
00139      * @return \DateTime 
00140      */
00141     public function getDtStart()
00142     {
00143         return $this->dtStart;
00144     }
00145 
00146     /**
00147      * Set idObjectType
00148      *
00149      * @param \Etrali\GinangBundle\Entity\ObjectType $idObjectType
00150      * @return Log
00151      */
00152     public function setIdObjectType(\Etrali\GinangBundle\Entity\ObjectType $idObjectType = null)
00153     {
00154         $this->idObjectType = $idObjectType;
00155     
00156         return $this;
00157     }
00158 
00159     /**
00160      * Get idObjectType
00161      *
00162      * @return \Etrali\GinangBundle\Entity\ObjectType 
00163      */
00164     public function getIdObjectType()
00165     {
00166         return $this->idObjectType;
00167     }
00168 
00169     /**
00170      * Set idUser
00171      *
00172      * @param \Etrali\GinangBundle\Entity\User $idUser
00173      * @return Log
00174      */
00175     public function setIdUser(\Etrali\GinangBundle\Entity\User $idUser = null)
00176     {
00177         $this->idUser = $idUser;
00178     
00179         return $this;
00180     }
00181 
00182     /**
00183      * Get idUser
00184      *
00185      * @return \Etrali\GinangBundle\Entity\User 
00186      */
00187     public function getIdUser()
00188     {
00189         return $this->idUser;
00190     }
00191 }
 All Classes Namespaces Files Functions Variables