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