Gina Next Generation
 All Classes Namespaces Files Functions Variables
ServiceHistory.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  * ServiceHistory
00009  *
00010  * @ORM\Table(name="service_history")
00011  * @ORM\Entity
00012  */
00013 class ServiceHistory
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_service_history", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idServiceHistory;
00023 
00024     /**
00025      * @var \History
00026      *
00027      * @ORM\ManyToOne(targetEntity="History")
00028      * @ORM\JoinColumns({
00029      *   @ORM\JoinColumn(name="id_history", referencedColumnName="id_history")
00030      * })
00031      */
00032     private $idHistory;
00033 
00034 
00035 
00036     /**
00037      * Get idServiceHistory
00038      *
00039      * @return integer 
00040      */
00041     public function getIdServiceHistory()
00042     {
00043         return $this->idServiceHistory;
00044     }
00045 
00046     /**
00047      * Set idHistory
00048      *
00049      * @param \Etrali\GinangBundle\Entity\History $idHistory
00050      * @return ServiceHistory
00051      */
00052     public function setIdHistory(\Etrali\GinangBundle\Entity\History $idHistory = null)
00053     {
00054         $this->idHistory = $idHistory;
00055     
00056         return $this;
00057     }
00058 
00059     /**
00060      * Get idHistory
00061      *
00062      * @return \Etrali\GinangBundle\Entity\History 
00063      */
00064     public function getIdHistory()
00065     {
00066         return $this->idHistory;
00067     }
00068 }
 All Classes Namespaces Files Functions Variables