Gina Next Generation
 All Classes Namespaces Files Functions Variables
AddressMagellan.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  * AddressMagellan
00009  *
00010  * @ORM\Table(name="address_magellan")
00011  * @ORM\Entity
00012  */
00013 class AddressMagellan
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_address_magellan", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idAddressMagellan;
00023 
00024     /**
00025      * @var integer
00026      *
00027      * @ORM\Column(name="id_address_gina", type="integer", nullable=true)
00028      */
00029     private $idAddressGina;
00030 
00031     /**
00032      * @var string
00033      *
00034      * @ORM\Column(name="cd_account_magellan", type="string", length=15, nullable=true)
00035      */
00036     private $cdAccountMagellan;
00037 
00038     /**
00039      * @var \Branch
00040      *
00041      * @ORM\ManyToOne(targetEntity="Branch")
00042      * @ORM\JoinColumns({
00043      *   @ORM\JoinColumn(name="id_branch", referencedColumnName="id_branch")
00044      * })
00045      */
00046     private $idBranch;
00047 
00048     /**
00049      * @var \Customer
00050      *
00051      * @ORM\ManyToOne(targetEntity="Customer")
00052      * @ORM\JoinColumns({
00053      *   @ORM\JoinColumn(name="id_customer_gina", referencedColumnName="id_customer")
00054      * })
00055      */
00056     private $idCustomerGina;
00057 
00058     /**
00059      * @var \AddressType
00060      *
00061      * @ORM\ManyToOne(targetEntity="AddressType")
00062      * @ORM\JoinColumns({
00063      *   @ORM\JoinColumn(name="id_type_address", referencedColumnName="id_address_type")
00064      * })
00065      */
00066     private $idTypeAddress;
00067 
00068 
00069 
00070     /**
00071      * Get idAddressMagellan
00072      *
00073      * @return integer 
00074      */
00075     public function getIdAddressMagellan()
00076     {
00077         return $this->idAddressMagellan;
00078     }
00079 
00080     /**
00081      * Set idAddressGina
00082      *
00083      * @param integer $idAddressGina
00084      * @return AddressMagellan
00085      */
00086     public function setIdAddressGina($idAddressGina)
00087     {
00088         $this->idAddressGina = $idAddressGina;
00089     
00090         return $this;
00091     }
00092 
00093     /**
00094      * Get idAddressGina
00095      *
00096      * @return integer 
00097      */
00098     public function getIdAddressGina()
00099     {
00100         return $this->idAddressGina;
00101     }
00102 
00103     /**
00104      * Set cdAccountMagellan
00105      *
00106      * @param string $cdAccountMagellan
00107      * @return AddressMagellan
00108      */
00109     public function setCdAccountMagellan($cdAccountMagellan)
00110     {
00111         $this->cdAccountMagellan = $cdAccountMagellan;
00112     
00113         return $this;
00114     }
00115 
00116     /**
00117      * Get cdAccountMagellan
00118      *
00119      * @return string 
00120      */
00121     public function getCdAccountMagellan()
00122     {
00123         return $this->cdAccountMagellan;
00124     }
00125 
00126     /**
00127      * Set idBranch
00128      *
00129      * @param \Etrali\GinangBundle\Entity\Branch $idBranch
00130      * @return AddressMagellan
00131      */
00132     public function setIdBranch(\Etrali\GinangBundle\Entity\Branch $idBranch = null)
00133     {
00134         $this->idBranch = $idBranch;
00135     
00136         return $this;
00137     }
00138 
00139     /**
00140      * Get idBranch
00141      *
00142      * @return \Etrali\GinangBundle\Entity\Branch 
00143      */
00144     public function getIdBranch()
00145     {
00146         return $this->idBranch;
00147     }
00148 
00149     /**
00150      * Set idCustomerGina
00151      *
00152      * @param \Etrali\GinangBundle\Entity\Customer $idCustomerGina
00153      * @return AddressMagellan
00154      */
00155     public function setIdCustomerGina(\Etrali\GinangBundle\Entity\Customer $idCustomerGina = null)
00156     {
00157         $this->idCustomerGina = $idCustomerGina;
00158     
00159         return $this;
00160     }
00161 
00162     /**
00163      * Get idCustomerGina
00164      *
00165      * @return \Etrali\GinangBundle\Entity\Customer 
00166      */
00167     public function getIdCustomerGina()
00168     {
00169         return $this->idCustomerGina;
00170     }
00171 
00172     /**
00173      * Set idTypeAddress
00174      *
00175      * @param \Etrali\GinangBundle\Entity\AddressType $idTypeAddress
00176      * @return AddressMagellan
00177      */
00178     public function setIdTypeAddress(\Etrali\GinangBundle\Entity\AddressType $idTypeAddress = null)
00179     {
00180         $this->idTypeAddress = $idTypeAddress;
00181     
00182         return $this;
00183     }
00184 
00185     /**
00186      * Get idTypeAddress
00187      *
00188      * @return \Etrali\GinangBundle\Entity\AddressType 
00189      */
00190     public function getIdTypeAddress()
00191     {
00192         return $this->idTypeAddress;
00193     }
00194 }
 All Classes Namespaces Files Functions Variables