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