Gina Next Generation
 All Classes Namespaces Files Functions Variables
BillingService.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  * BillingService
00009  *
00010  * @ORM\Table(name="billing_service")
00011  * @ORM\Entity
00012  */
00013 class BillingService
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_billing_service", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idBillingService;
00023 
00024     /**
00025      * @var integer
00026      *
00027      * @ORM\Column(name="id_sales_manager", type="integer", nullable=true)
00028      */
00029     private $idSalesManager;
00030 
00031     /**
00032      * @var string
00033      *
00034      * @ORM\Column(name="cd_contract", type="string", length=15, nullable=true)
00035      */
00036     private $cdContract;
00037 
00038     /**
00039      * @var string
00040      *
00041      * @ORM\Column(name="cd_account", type="string", length=15, nullable=true)
00042      */
00043     private $cdAccount;
00044 
00045     /**
00046      * @var string
00047      *
00048      * @ORM\Column(name="cd_billing_group", type="string", length=15, nullable=true)
00049      */
00050     private $cdBillingGroup;
00051 
00052     /**
00053      * @var string
00054      *
00055      * @ORM\Column(name="cm_billing", type="string", length=255, nullable=true)
00056      */
00057     private $cmBilling;
00058 
00059     /**
00060      * @var \DateTime
00061      *
00062      * @ORM\Column(name="dt_create", type="datetime", nullable=true)
00063      */
00064     private $dtCreate;
00065 
00066     /**
00067      * @var boolean
00068      *
00069      * @ORM\Column(name="bl_deactivated", type="boolean", nullable=true)
00070      */
00071     private $blDeactivated;
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 \BillingFrequency
00082      *
00083      * @ORM\ManyToOne(targetEntity="BillingFrequency")
00084      * @ORM\JoinColumns({
00085      *   @ORM\JoinColumn(name="id_billing_frequency", referencedColumnName="id_billing_frequency")
00086      * })
00087      */
00088     private $idBillingFrequency;
00089 
00090     /**
00091      * @var \Customer
00092      *
00093      * @ORM\ManyToOne(targetEntity="Customer")
00094      * @ORM\JoinColumns({
00095      *   @ORM\JoinColumn(name="id_customer", referencedColumnName="id_customer")
00096      * })
00097      */
00098     private $idCustomer;
00099 
00100     /**
00101      * @var \Currency
00102      *
00103      * @ORM\ManyToOne(targetEntity="Currency")
00104      * @ORM\JoinColumns({
00105      *   @ORM\JoinColumn(name="id_currency", referencedColumnName="id_currency")
00106      * })
00107      */
00108     private $idCurrency;
00109 
00110     /**
00111      * @var \Address
00112      *
00113      * @ORM\ManyToOne(targetEntity="Address")
00114      * @ORM\JoinColumns({
00115      *   @ORM\JoinColumn(name="id_address", referencedColumnName="id_address")
00116      * })
00117      */
00118     private $idAddress;
00119 
00120     /**
00121      * @var \Contact
00122      *
00123      * @ORM\ManyToOne(targetEntity="Contact")
00124      * @ORM\JoinColumns({
00125      *   @ORM\JoinColumn(name="id_contact", referencedColumnName="id_contact")
00126      * })
00127      */
00128     private $idContact;
00129 
00130     /**
00131      * @var \Branch
00132      *
00133      * @ORM\ManyToOne(targetEntity="Branch")
00134      * @ORM\JoinColumns({
00135      *   @ORM\JoinColumn(name="id_branch", referencedColumnName="id_branch")
00136      * })
00137      */
00138     private $idBranch;
00139 
00140     /**
00141      * @var \Service
00142      *
00143      * @ORM\ManyToOne(targetEntity="Service")
00144      * @ORM\JoinColumns({
00145      *   @ORM\JoinColumn(name="id_service", referencedColumnName="id_service")
00146      * })
00147      */
00148     private $idService;
00149 
00150 
00151 
00152     /**
00153      * Get idBillingService
00154      *
00155      * @return integer 
00156      */
00157     public function getIdBillingService()
00158     {
00159         return $this->idBillingService;
00160     }
00161 
00162     /**
00163      * Set idSalesManager
00164      *
00165      * @param integer $idSalesManager
00166      * @return BillingService
00167      */
00168     public function setIdSalesManager($idSalesManager)
00169     {
00170         $this->idSalesManager = $idSalesManager;
00171     
00172         return $this;
00173     }
00174 
00175     /**
00176      * Get idSalesManager
00177      *
00178      * @return integer 
00179      */
00180     public function getIdSalesManager()
00181     {
00182         return $this->idSalesManager;
00183     }
00184 
00185     /**
00186      * Set cdContract
00187      *
00188      * @param string $cdContract
00189      * @return BillingService
00190      */
00191     public function setCdContract($cdContract)
00192     {
00193         $this->cdContract = $cdContract;
00194     
00195         return $this;
00196     }
00197 
00198     /**
00199      * Get cdContract
00200      *
00201      * @return string 
00202      */
00203     public function getCdContract()
00204     {
00205         return $this->cdContract;
00206     }
00207 
00208     /**
00209      * Set cdAccount
00210      *
00211      * @param string $cdAccount
00212      * @return BillingService
00213      */
00214     public function setCdAccount($cdAccount)
00215     {
00216         $this->cdAccount = $cdAccount;
00217     
00218         return $this;
00219     }
00220 
00221     /**
00222      * Get cdAccount
00223      *
00224      * @return string 
00225      */
00226     public function getCdAccount()
00227     {
00228         return $this->cdAccount;
00229     }
00230 
00231     /**
00232      * Set cdBillingGroup
00233      *
00234      * @param string $cdBillingGroup
00235      * @return BillingService
00236      */
00237     public function setCdBillingGroup($cdBillingGroup)
00238     {
00239         $this->cdBillingGroup = $cdBillingGroup;
00240     
00241         return $this;
00242     }
00243 
00244     /**
00245      * Get cdBillingGroup
00246      *
00247      * @return string 
00248      */
00249     public function getCdBillingGroup()
00250     {
00251         return $this->cdBillingGroup;
00252     }
00253 
00254     /**
00255      * Set cmBilling
00256      *
00257      * @param string $cmBilling
00258      * @return BillingService
00259      */
00260     public function setCmBilling($cmBilling)
00261     {
00262         $this->cmBilling = $cmBilling;
00263     
00264         return $this;
00265     }
00266 
00267     /**
00268      * Get cmBilling
00269      *
00270      * @return string 
00271      */
00272     public function getCmBilling()
00273     {
00274         return $this->cmBilling;
00275     }
00276 
00277     /**
00278      * Set dtCreate
00279      *
00280      * @param \DateTime $dtCreate
00281      * @return BillingService
00282      */
00283     public function setDtCreate($dtCreate)
00284     {
00285         $this->dtCreate = $dtCreate;
00286     
00287         return $this;
00288     }
00289 
00290     /**
00291      * Get dtCreate
00292      *
00293      * @return \DateTime 
00294      */
00295     public function getDtCreate()
00296     {
00297         return $this->dtCreate;
00298     }
00299 
00300     /**
00301      * Set blDeactivated
00302      *
00303      * @param boolean $blDeactivated
00304      * @return BillingService
00305      */
00306     public function setBlDeactivated($blDeactivated)
00307     {
00308         $this->blDeactivated = $blDeactivated;
00309     
00310         return $this;
00311     }
00312 
00313     /**
00314      * Get blDeactivated
00315      *
00316      * @return boolean 
00317      */
00318     public function getBlDeactivated()
00319     {
00320         return $this->blDeactivated;
00321     }
00322 
00323     /**
00324      * Set nbNPeriod
00325      *
00326      * @param integer $nbNPeriod
00327      * @return BillingService
00328      */
00329     public function setNbNPeriod($nbNPeriod)
00330     {
00331         $this->nbNPeriod = $nbNPeriod;
00332     
00333         return $this;
00334     }
00335 
00336     /**
00337      * Get nbNPeriod
00338      *
00339      * @return integer 
00340      */
00341     public function getNbNPeriod()
00342     {
00343         return $this->nbNPeriod;
00344     }
00345 
00346     /**
00347      * Set idBillingFrequency
00348      *
00349      * @param \Etrali\GinangBundle\Entity\BillingFrequency $idBillingFrequency
00350      * @return BillingService
00351      */
00352     public function setIdBillingFrequency(\Etrali\GinangBundle\Entity\BillingFrequency $idBillingFrequency = null)
00353     {
00354         $this->idBillingFrequency = $idBillingFrequency;
00355     
00356         return $this;
00357     }
00358 
00359     /**
00360      * Get idBillingFrequency
00361      *
00362      * @return \Etrali\GinangBundle\Entity\BillingFrequency 
00363      */
00364     public function getIdBillingFrequency()
00365     {
00366         return $this->idBillingFrequency;
00367     }
00368 
00369     /**
00370      * Set idCustomer
00371      *
00372      * @param \Etrali\GinangBundle\Entity\Customer $idCustomer
00373      * @return BillingService
00374      */
00375     public function setIdCustomer(\Etrali\GinangBundle\Entity\Customer $idCustomer = null)
00376     {
00377         $this->idCustomer = $idCustomer;
00378     
00379         return $this;
00380     }
00381 
00382     /**
00383      * Get idCustomer
00384      *
00385      * @return \Etrali\GinangBundle\Entity\Customer 
00386      */
00387     public function getIdCustomer()
00388     {
00389         return $this->idCustomer;
00390     }
00391 
00392     /**
00393      * Set idCurrency
00394      *
00395      * @param \Etrali\GinangBundle\Entity\Currency $idCurrency
00396      * @return BillingService
00397      */
00398     public function setIdCurrency(\Etrali\GinangBundle\Entity\Currency $idCurrency = null)
00399     {
00400         $this->idCurrency = $idCurrency;
00401     
00402         return $this;
00403     }
00404 
00405     /**
00406      * Get idCurrency
00407      *
00408      * @return \Etrali\GinangBundle\Entity\Currency 
00409      */
00410     public function getIdCurrency()
00411     {
00412         return $this->idCurrency;
00413     }
00414 
00415     /**
00416      * Set idAddress
00417      *
00418      * @param \Etrali\GinangBundle\Entity\Address $idAddress
00419      * @return BillingService
00420      */
00421     public function setIdAddress(\Etrali\GinangBundle\Entity\Address $idAddress = null)
00422     {
00423         $this->idAddress = $idAddress;
00424     
00425         return $this;
00426     }
00427 
00428     /**
00429      * Get idAddress
00430      *
00431      * @return \Etrali\GinangBundle\Entity\Address 
00432      */
00433     public function getIdAddress()
00434     {
00435         return $this->idAddress;
00436     }
00437 
00438     /**
00439      * Set idContact
00440      *
00441      * @param \Etrali\GinangBundle\Entity\Contact $idContact
00442      * @return BillingService
00443      */
00444     public function setIdContact(\Etrali\GinangBundle\Entity\Contact $idContact = null)
00445     {
00446         $this->idContact = $idContact;
00447     
00448         return $this;
00449     }
00450 
00451     /**
00452      * Get idContact
00453      *
00454      * @return \Etrali\GinangBundle\Entity\Contact 
00455      */
00456     public function getIdContact()
00457     {
00458         return $this->idContact;
00459     }
00460 
00461     /**
00462      * Set idBranch
00463      *
00464      * @param \Etrali\GinangBundle\Entity\Branch $idBranch
00465      * @return BillingService
00466      */
00467     public function setIdBranch(\Etrali\GinangBundle\Entity\Branch $idBranch = null)
00468     {
00469         $this->idBranch = $idBranch;
00470     
00471         return $this;
00472     }
00473 
00474     /**
00475      * Get idBranch
00476      *
00477      * @return \Etrali\GinangBundle\Entity\Branch 
00478      */
00479     public function getIdBranch()
00480     {
00481         return $this->idBranch;
00482     }
00483 
00484     /**
00485      * Set idService
00486      *
00487      * @param \Etrali\GinangBundle\Entity\Service $idService
00488      * @return BillingService
00489      */
00490     public function setIdService(\Etrali\GinangBundle\Entity\Service $idService = null)
00491     {
00492         $this->idService = $idService;
00493     
00494         return $this;
00495     }
00496 
00497     /**
00498      * Get idService
00499      *
00500      * @return \Etrali\GinangBundle\Entity\Service 
00501      */
00502     public function getIdService()
00503     {
00504         return $this->idService;
00505     }
00506 }
 All Classes Namespaces Files Functions Variables