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