Gina Next Generation
 All Classes Namespaces Files Functions Variables
LogModel.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  * LogModel
00009  *
00010  * @ORM\Table(name="log_model")
00011  * @ORM\Entity
00012  */
00013 class LogModel
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_log_model", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idLogModel;
00023 
00024     /**
00025      * @var string
00026      *
00027      * @ORM\Column(name="cm_comment", type="string", length=255, nullable=true)
00028      */
00029     private $cmComment;
00030 
00031     /**
00032      * @var \ObjectType
00033      *
00034      * @ORM\ManyToOne(targetEntity="ObjectType")
00035      * @ORM\JoinColumns({
00036      *   @ORM\JoinColumn(name="id_object_type", referencedColumnName="id_object_type")
00037      * })
00038      */
00039     private $idObjectType;
00040 
00041 
00042 
00043     /**
00044      * Get idLogModel
00045      *
00046      * @return integer 
00047      */
00048     public function getIdLogModel()
00049     {
00050         return $this->idLogModel;
00051     }
00052 
00053     /**
00054      * Set cmComment
00055      *
00056      * @param string $cmComment
00057      * @return LogModel
00058      */
00059     public function setCmComment($cmComment)
00060     {
00061         $this->cmComment = $cmComment;
00062     
00063         return $this;
00064     }
00065 
00066     /**
00067      * Get cmComment
00068      *
00069      * @return string 
00070      */
00071     public function getCmComment()
00072     {
00073         return $this->cmComment;
00074     }
00075 
00076     /**
00077      * Set idObjectType
00078      *
00079      * @param \Etrali\GinangBundle\Entity\ObjectType $idObjectType
00080      * @return LogModel
00081      */
00082     public function setIdObjectType(\Etrali\GinangBundle\Entity\ObjectType $idObjectType = null)
00083     {
00084         $this->idObjectType = $idObjectType;
00085     
00086         return $this;
00087     }
00088 
00089     /**
00090      * Get idObjectType
00091      *
00092      * @return \Etrali\GinangBundle\Entity\ObjectType 
00093      */
00094     public function getIdObjectType()
00095     {
00096         return $this->idObjectType;
00097     }
00098 }
 All Classes Namespaces Files Functions Variables