Gina Next Generation
 All Classes Namespaces Files Functions Variables
Customer.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  * Customer
00009  *
00010  * @ORM\Table(name="customer")
00011  * @ORM\Entity
00012  */
00013 class Customer
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_customer", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idCustomer;
00023 
00024     /**
00025      * @var string
00026      *
00027      * @ORM\Column(name="cd_magellan", type="string", length=15, nullable=true)
00028      */
00029     private $cdMagellan;
00030 
00031     /**
00032      * @var string
00033      *
00034      * @ORM\Column(name="lb_customer", type="string", length=100, nullable=true)
00035      */
00036     private $lbCustomer;
00037 
00038     /**
00039      * @var \DateTime
00040      *
00041      * @ORM\Column(name="dt_create", type="datetime", nullable=true)
00042      */
00043     private $dtCreate;
00044 
00045     /**
00046      * @var \DateTime
00047      *
00048      * @ORM\Column(name="dt_update", type="datetime", nullable=true)
00049      */
00050     private $dtUpdate;
00051 
00052     /**
00053      * @var boolean
00054      *
00055      * @ORM\Column(name="bl_deactivated", type="boolean", nullable=true)
00056      */
00057     private $blDeactivated;
00058 
00059     /**
00060      * @var string
00061      *
00062      * @ORM\Column(name="lb_web", type="string", length=100, nullable=true)
00063      */
00064     private $lbWeb;
00065 
00066     /**
00067      * @var integer
00068      *
00069      * @ORM\Column(name="nb_contractual_period", type="integer", nullable=true)
00070      */
00071     private $nbContractualPeriod;
00072 
00073     /**
00074      * @var integer
00075      *
00076      * @ORM\Column(name="nb_n_period", type="integer", nullable=true)
00077      */
00078     private $nbNPeriod;
00079 
00080     /**
00081      * @var string
00082      *
00083      * @ORM\Column(name="comment", type="text", nullable=true)
00084      */
00085     private $comment;
00086 
00087     /**
00088      * @var \DateTime
00089      *
00090      * @ORM\Column(name="dt_deactivation", type="datetime", nullable=true)
00091      */
00092     private $dtDeactivation;
00093 
00094     /**
00095      * @var string
00096      *
00097      * @ORM\Column(name="cd_billing_group", type="string", length=45, nullable=true)
00098      */
00099     private $cdBillingGroup;
00100 
00101     /**
00102      * @var \CustomerNature
00103      *
00104      * @ORM\ManyToOne(targetEntity="CustomerNature")
00105      * @ORM\JoinColumns({
00106      *   @ORM\JoinColumn(name="id_customer_nature", referencedColumnName="id_customer_nature")
00107      * })
00108      */
00109     private $idCustomerNature;
00110 
00111     /**
00112      * @var \Currency
00113      *
00114      * @ORM\ManyToOne(targetEntity="Currency")
00115      * @ORM\JoinColumns({
00116      *   @ORM\JoinColumn(name="id_currency", referencedColumnName="id_currency")
00117      * })
00118      */
00119     private $idCurrency;
00120 
00121     /**
00122      * @var \User
00123      *
00124      * @ORM\ManyToOne(targetEntity="User")
00125      * @ORM\JoinColumns({
00126      *   @ORM\JoinColumn(name="id_customer_manager", referencedColumnName="id_user")
00127      * })
00128      */
00129     private $idCustomerManager;
00130 
00131     /**
00132      * @var \FirmType
00133      *
00134      * @ORM\ManyToOne(targetEntity="FirmType")
00135      * @ORM\JoinColumns({
00136      *   @ORM\JoinColumn(name="id_firm_type", referencedColumnName="id")
00137      * })
00138      */
00139     private $idFirmType;
00140 
00141     /**
00142      * @var \User
00143      *
00144      * @ORM\ManyToOne(targetEntity="User")
00145      * @ORM\JoinColumns({
00146      *   @ORM\JoinColumn(name="id_account_manager", referencedColumnName="id_user")
00147      * })
00148      */
00149     private $idAccountManager;
00150 
00151     /**
00152      * @var \User
00153      *
00154      * @ORM\ManyToOne(targetEntity="User")
00155      * @ORM\JoinColumns({
00156      *   @ORM\JoinColumn(name="id_user_update_by", referencedColumnName="id_user")
00157      * })
00158      */
00159     private $idUserUpdateBy;
00160 
00161     /**
00162      * @var \User
00163      *
00164      * @ORM\ManyToOne(targetEntity="User")
00165      * @ORM\JoinColumns({
00166      *   @ORM\JoinColumn(name="id_user_create_by", referencedColumnName="id_user")
00167      * })
00168      */
00169     private $idUserCreateBy;
00170 
00171     /**
00172      * @var \Branch
00173      *
00174      * @ORM\ManyToOne(targetEntity="Branch")
00175      * @ORM\JoinColumns({
00176      *   @ORM\JoinColumn(name="id_branch_group", referencedColumnName="id_branch")
00177      * })
00178      */
00179     private $idBranchGroup;
00180 
00181     /**
00182      * @var \Cluster
00183      *
00184      * @ORM\ManyToOne(targetEntity="Cluster")
00185      * @ORM\JoinColumns({
00186      *   @ORM\JoinColumn(name="id_cluster", referencedColumnName="id_cluster")
00187      * })
00188      */
00189     private $idCluster;
00190 
00191     /**
00192      * @var \BillingFrequency
00193      *
00194      * @ORM\ManyToOne(targetEntity="BillingFrequency")
00195      * @ORM\JoinColumns({
00196      *   @ORM\JoinColumn(name="id_billing_frequency", referencedColumnName="id_billing_frequency")
00197      * })
00198      */
00199     private $idBillingFrequency;
00200 
00201     /**
00202      * @var \CustomerType
00203      *
00204      * @ORM\ManyToOne(targetEntity="CustomerType")
00205      * @ORM\JoinColumns({
00206      *   @ORM\JoinColumn(name="id_customer_type", referencedColumnName="id_customer_type")
00207      * })
00208      */
00209     private $idCustomerType;
00210 
00211     /**
00212      * @var \Branch
00213      *
00214      * @ORM\ManyToOne(targetEntity="Branch")
00215      * @ORM\JoinColumns({
00216      *   @ORM\JoinColumn(name="id_branch", referencedColumnName="id_branch")
00217      * })
00218      */
00219     private $idBranch;
00220 
00221 
00222 
00223     /**
00224      * Get idCustomer
00225      *
00226      * @return integer 
00227      */
00228     public function getIdCustomer()
00229     {
00230         return $this->idCustomer;
00231     }
00232 
00233     /**
00234      * Set cdMagellan
00235      *
00236      * @param string $cdMagellan
00237      * @return Customer
00238      */
00239     public function setCdMagellan($cdMagellan)
00240     {
00241         $this->cdMagellan = $cdMagellan;
00242     
00243         return $this;
00244     }
00245 
00246     /**
00247      * Get cdMagellan
00248      *
00249      * @return string 
00250      */
00251     public function getCdMagellan()
00252     {
00253         return $this->cdMagellan;
00254     }
00255 
00256     /**
00257      * Set lbCustomer
00258      *
00259      * @param string $lbCustomer
00260      * @return Customer
00261      */
00262     public function setLbCustomer($lbCustomer)
00263     {
00264         $this->lbCustomer = $lbCustomer;
00265     
00266         return $this;
00267     }
00268 
00269     /**
00270      * Get lbCustomer
00271      *
00272      * @return string 
00273      */
00274     public function getLbCustomer()
00275     {
00276         return $this->lbCustomer;
00277     }
00278 
00279     /**
00280      * Set dtCreate
00281      *
00282      * @param \DateTime $dtCreate
00283      * @return Customer
00284      */
00285     public function setDtCreate($dtCreate)
00286     {
00287         $this->dtCreate = $dtCreate;
00288     
00289         return $this;
00290     }
00291 
00292     /**
00293      * Get dtCreate
00294      *
00295      * @return \DateTime 
00296      */
00297     public function getDtCreate()
00298     {
00299         return $this->dtCreate;
00300     }
00301 
00302     /**
00303      * Set dtUpdate
00304      *
00305      * @param \DateTime $dtUpdate
00306      * @return Customer
00307      */
00308     public function setDtUpdate($dtUpdate)
00309     {
00310         $this->dtUpdate = $dtUpdate;
00311     
00312         return $this;
00313     }
00314 
00315     /**
00316      * Get dtUpdate
00317      *
00318      * @return \DateTime 
00319      */
00320     public function getDtUpdate()
00321     {
00322         return $this->dtUpdate;
00323     }
00324 
00325     /**
00326      * Set blDeactivated
00327      *
00328      * @param boolean $blDeactivated
00329      * @return Customer
00330      */
00331     public function setBlDeactivated($blDeactivated)
00332     {
00333         $this->blDeactivated = $blDeactivated;
00334     
00335         return $this;
00336     }
00337 
00338     /**
00339      * Get blDeactivated
00340      *
00341      * @return boolean 
00342      */
00343     public function getBlDeactivated()
00344     {
00345         return $this->blDeactivated;
00346     }
00347 
00348     /**
00349      * Set lbWeb
00350      *
00351      * @param string $lbWeb
00352      * @return Customer
00353      */
00354     public function setLbWeb($lbWeb)
00355     {
00356         $this->lbWeb = $lbWeb;
00357     
00358         return $this;
00359     }
00360 
00361     /**
00362      * Get lbWeb
00363      *
00364      * @return string 
00365      */
00366     public function getLbWeb()
00367     {
00368         return $this->lbWeb;
00369     }
00370 
00371     /**
00372      * Set nbContractualPeriod
00373      *
00374      * @param integer $nbContractualPeriod
00375      * @return Customer
00376      */
00377     public function setNbContractualPeriod($nbContractualPeriod)
00378     {
00379         $this->nbContractualPeriod = $nbContractualPeriod;
00380     
00381         return $this;
00382     }
00383 
00384     /**
00385      * Get nbContractualPeriod
00386      *
00387      * @return integer 
00388      */
00389     public function getNbContractualPeriod()
00390     {
00391         return $this->nbContractualPeriod;
00392     }
00393 
00394     /**
00395      * Set nbNPeriod
00396      *
00397      * @param integer $nbNPeriod
00398      * @return Customer
00399      */
00400     public function setNbNPeriod($nbNPeriod)
00401     {
00402         $this->nbNPeriod = $nbNPeriod;
00403     
00404         return $this;
00405     }
00406 
00407     /**
00408      * Get nbNPeriod
00409      *
00410      * @return integer 
00411      */
00412     public function getNbNPeriod()
00413     {
00414         return $this->nbNPeriod;
00415     }
00416 
00417     /**
00418      * Set comment
00419      *
00420      * @param string $comment
00421      * @return Customer
00422      */
00423     public function setComment($comment)
00424     {
00425         $this->comment = $comment;
00426     
00427         return $this;
00428     }
00429 
00430     /**
00431      * Get comment
00432      *
00433      * @return string 
00434      */
00435     public function getComment()
00436     {
00437         return $this->comment;
00438     }
00439 
00440     /**
00441      * Set dtDeactivation
00442      *
00443      * @param \DateTime $dtDeactivation
00444      * @return Customer
00445      */
00446     public function setDtDeactivation($dtDeactivation)
00447     {
00448         $this->dtDeactivation = $dtDeactivation;
00449     
00450         return $this;
00451     }
00452 
00453     /**
00454      * Get dtDeactivation
00455      *
00456      * @return \DateTime 
00457      */
00458     public function getDtDeactivation()
00459     {
00460         return $this->dtDeactivation;
00461     }
00462 
00463     /**
00464      * Set cdBillingGroup
00465      *
00466      * @param string $cdBillingGroup
00467      * @return Customer
00468      */
00469     public function setCdBillingGroup($cdBillingGroup)
00470     {
00471         $this->cdBillingGroup = $cdBillingGroup;
00472     
00473         return $this;
00474     }
00475 
00476     /**
00477      * Get cdBillingGroup
00478      *
00479      * @return string 
00480      */
00481     public function getCdBillingGroup()
00482     {
00483         return $this->cdBillingGroup;
00484     }
00485 
00486     /**
00487      * Set idCustomerNature
00488      *
00489      * @param \Etrali\GinangBundle\Entity\CustomerNature $idCustomerNature
00490      * @return Customer
00491      */
00492     public function setIdCustomerNature(\Etrali\GinangBundle\Entity\CustomerNature $idCustomerNature = null)
00493     {
00494         $this->idCustomerNature = $idCustomerNature;
00495     
00496         return $this;
00497     }
00498 
00499     /**
00500      * Get idCustomerNature
00501      *
00502      * @return \Etrali\GinangBundle\Entity\CustomerNature 
00503      */
00504     public function getIdCustomerNature()
00505     {
00506         return $this->idCustomerNature;
00507     }
00508 
00509     /**
00510      * Set idCurrency
00511      *
00512      * @param \Etrali\GinangBundle\Entity\Currency $idCurrency
00513      * @return Customer
00514      */
00515     public function setIdCurrency(\Etrali\GinangBundle\Entity\Currency $idCurrency = null)
00516     {
00517         $this->idCurrency = $idCurrency;
00518     
00519         return $this;
00520     }
00521 
00522     /**
00523      * Get idCurrency
00524      *
00525      * @return \Etrali\GinangBundle\Entity\Currency 
00526      */
00527     public function getIdCurrency()
00528     {
00529         return $this->idCurrency;
00530     }
00531 
00532     /**
00533      * Set idCustomerManager
00534      *
00535      * @param \Etrali\GinangBundle\Entity\User $idCustomerManager
00536      * @return Customer
00537      */
00538     public function setIdCustomerManager(\Etrali\GinangBundle\Entity\User $idCustomerManager = null)
00539     {
00540         $this->idCustomerManager = $idCustomerManager;
00541     
00542         return $this;
00543     }
00544 
00545     /**
00546      * Get idCustomerManager
00547      *
00548      * @return \Etrali\GinangBundle\Entity\User 
00549      */
00550     public function getIdCustomerManager()
00551     {
00552         return $this->idCustomerManager;
00553     }
00554 
00555     /**
00556      * Set idFirmType
00557      *
00558      * @param \Etrali\GinangBundle\Entity\FirmType $idFirmType
00559      * @return Customer
00560      */
00561     public function setIdFirmType(\Etrali\GinangBundle\Entity\FirmType $idFirmType = null)
00562     {
00563         $this->idFirmType = $idFirmType;
00564     
00565         return $this;
00566     }
00567 
00568     /**
00569      * Get idFirmType
00570      *
00571      * @return \Etrali\GinangBundle\Entity\FirmType 
00572      */
00573     public function getIdFirmType()
00574     {
00575         return $this->idFirmType;
00576     }
00577 
00578     /**
00579      * Set idAccountManager
00580      *
00581      * @param \Etrali\GinangBundle\Entity\User $idAccountManager
00582      * @return Customer
00583      */
00584     public function setIdAccountManager(\Etrali\GinangBundle\Entity\User $idAccountManager = null)
00585     {
00586         $this->idAccountManager = $idAccountManager;
00587     
00588         return $this;
00589     }
00590 
00591     /**
00592      * Get idAccountManager
00593      *
00594      * @return \Etrali\GinangBundle\Entity\User 
00595      */
00596     public function getIdAccountManager()
00597     {
00598         return $this->idAccountManager;
00599     }
00600 
00601     /**
00602      * Set idUserUpdateBy
00603      *
00604      * @param \Etrali\GinangBundle\Entity\User $idUserUpdateBy
00605      * @return Customer
00606      */
00607     public function setIdUserUpdateBy(\Etrali\GinangBundle\Entity\User $idUserUpdateBy = null)
00608     {
00609         $this->idUserUpdateBy = $idUserUpdateBy;
00610     
00611         return $this;
00612     }
00613 
00614     /**
00615      * Get idUserUpdateBy
00616      *
00617      * @return \Etrali\GinangBundle\Entity\User 
00618      */
00619     public function getIdUserUpdateBy()
00620     {
00621         return $this->idUserUpdateBy;
00622     }
00623 
00624     /**
00625      * Set idUserCreateBy
00626      *
00627      * @param \Etrali\GinangBundle\Entity\User $idUserCreateBy
00628      * @return Customer
00629      */
00630     public function setIdUserCreateBy(\Etrali\GinangBundle\Entity\User $idUserCreateBy = null)
00631     {
00632         $this->idUserCreateBy = $idUserCreateBy;
00633     
00634         return $this;
00635     }
00636 
00637     /**
00638      * Get idUserCreateBy
00639      *
00640      * @return \Etrali\GinangBundle\Entity\User 
00641      */
00642     public function getIdUserCreateBy()
00643     {
00644         return $this->idUserCreateBy;
00645     }
00646 
00647     /**
00648      * Set idBranchGroup
00649      *
00650      * @param \Etrali\GinangBundle\Entity\Branch $idBranchGroup
00651      * @return Customer
00652      */
00653     public function setIdBranchGroup(\Etrali\GinangBundle\Entity\Branch $idBranchGroup = null)
00654     {
00655         $this->idBranchGroup = $idBranchGroup;
00656     
00657         return $this;
00658     }
00659 
00660     /**
00661      * Get idBranchGroup
00662      *
00663      * @return \Etrali\GinangBundle\Entity\Branch 
00664      */
00665     public function getIdBranchGroup()
00666     {
00667         return $this->idBranchGroup;
00668     }
00669 
00670     /**
00671      * Set idCluster
00672      *
00673      * @param \Etrali\GinangBundle\Entity\Cluster $idCluster
00674      * @return Customer
00675      */
00676     public function setIdCluster(\Etrali\GinangBundle\Entity\Cluster $idCluster = null)
00677     {
00678         $this->idCluster = $idCluster;
00679     
00680         return $this;
00681     }
00682 
00683     /**
00684      * Get idCluster
00685      *
00686      * @return \Etrali\GinangBundle\Entity\Cluster 
00687      */
00688     public function getIdCluster()
00689     {
00690         return $this->idCluster;
00691     }
00692 
00693     /**
00694      * Set idBillingFrequency
00695      *
00696      * @param \Etrali\GinangBundle\Entity\BillingFrequency $idBillingFrequency
00697      * @return Customer
00698      */
00699     public function setIdBillingFrequency(\Etrali\GinangBundle\Entity\BillingFrequency $idBillingFrequency = null)
00700     {
00701         $this->idBillingFrequency = $idBillingFrequency;
00702     
00703         return $this;
00704     }
00705 
00706     /**
00707      * Get idBillingFrequency
00708      *
00709      * @return \Etrali\GinangBundle\Entity\BillingFrequency 
00710      */
00711     public function getIdBillingFrequency()
00712     {
00713         return $this->idBillingFrequency;
00714     }
00715 
00716     /**
00717      * Set idCustomerType
00718      *
00719      * @param \Etrali\GinangBundle\Entity\CustomerType $idCustomerType
00720      * @return Customer
00721      */
00722     public function setIdCustomerType(\Etrali\GinangBundle\Entity\CustomerType $idCustomerType = null)
00723     {
00724         $this->idCustomerType = $idCustomerType;
00725     
00726         return $this;
00727     }
00728 
00729     /**
00730      * Get idCustomerType
00731      *
00732      * @return \Etrali\GinangBundle\Entity\CustomerType 
00733      */
00734     public function getIdCustomerType()
00735     {
00736         return $this->idCustomerType;
00737     }
00738 
00739     /**
00740      * Set idBranch
00741      *
00742      * @param \Etrali\GinangBundle\Entity\Branch $idBranch
00743      * @return Customer
00744      */
00745     public function setIdBranch(\Etrali\GinangBundle\Entity\Branch $idBranch = null)
00746     {
00747         $this->idBranch = $idBranch;
00748     
00749         return $this;
00750     }
00751 
00752     /**
00753      * Get idBranch
00754      *
00755      * @return \Etrali\GinangBundle\Entity\Branch 
00756      */
00757     public function getIdBranch()
00758     {
00759         return $this->idBranch;
00760     }
00761 }
 All Classes Namespaces Files Functions Variables