Gina Next Generation
 All Classes Namespaces Files Functions Variables
PortTemplate.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  * PortTemplate
00009  *
00010  * @ORM\Table(name="port_template")
00011  * @ORM\Entity
00012  */
00013 class PortTemplate
00014 {
00015     /**
00016      * @var string
00017      *
00018      * @ORM\Column(name="cd_port", type="string", length=15, nullable=false)
00019      */
00020     private $cdPort;
00021 
00022     /**
00023      * @var string
00024      *
00025      * @ORM\Column(name="lb_port", type="string", length=100, nullable=false)
00026      */
00027     private $lbPort;
00028 
00029     /**
00030      * @var string
00031      *
00032      * @ORM\Column(name="cm_port", type="string", length=255, nullable=true)
00033      */
00034     private $cmPort;
00035 
00036     /**
00037      * @var float
00038      *
00039      * @ORM\Column(name="nb_bandwidth_used", type="decimal", nullable=true)
00040      */
00041     private $nbBandwidthUsed;
00042 
00043     /**
00044      * @var float
00045      *
00046      * @ORM\Column(name="nb_bandwidth_max", type="decimal", nullable=true)
00047      */
00048     private $nbBandwidthMax;
00049 
00050     /**
00051      * @var float
00052      *
00053      * @ORM\Column(name="nb_ts_used", type="decimal", nullable=true)
00054      */
00055     private $nbTsUsed;
00056 
00057     /**
00058      * @var float
00059      *
00060      * @ORM\Column(name="nb_ts_cost", type="decimal", nullable=true)
00061      */
00062     private $nbTsCost;
00063 
00064     /**
00065      * @var float
00066      *
00067      * @ORM\Column(name="nb_ts_max", type="decimal", nullable=true)
00068      */
00069     private $nbTsMax;
00070 
00071     /**
00072      * @var float
00073      *
00074      * @ORM\Column(name="nb_ts_free", type="decimal", nullable=true)
00075      */
00076     private $nbTsFree;
00077 
00078     /**
00079      * @var boolean
00080      *
00081      * @ORM\Column(name="bl_full", type="boolean", nullable=true)
00082      */
00083     private $blFull;
00084 
00085     /**
00086      * @var boolean
00087      *
00088      * @ORM\Column(name="bl_full_cost", type="boolean", nullable=true)
00089      */
00090     private $blFullCost;
00091 
00092     /**
00093      * @var string
00094      *
00095      * @ORM\Column(name="ar_ts_remote", type="string", length=255, nullable=true)
00096      */
00097     private $arTsRemote;
00098 
00099     /**
00100      * @var \DateTime
00101      *
00102      * @ORM\Column(name="dt_start", type="datetime", nullable=true)
00103      */
00104     private $dtStart;
00105 
00106     /**
00107      * @var \DateTime
00108      *
00109      * @ORM\Column(name="dt_end", type="datetime", nullable=true)
00110      */
00111     private $dtEnd;
00112 
00113     /**
00114      * @var boolean
00115      *
00116      * @ORM\Column(name="bl_deactivated", type="boolean", nullable=true)
00117      */
00118     private $blDeactivated;
00119 
00120     /**
00121      * @var \DateTime
00122      *
00123      * @ORM\Column(name="dt_create", type="datetime", nullable=true)
00124      */
00125     private $dtCreate;
00126 
00127     /**
00128      * @var \DateTime
00129      *
00130      * @ORM\Column(name="dt_update", type="datetime", nullable=true)
00131      */
00132     private $dtUpdate;
00133 
00134     /**
00135      * @var \User
00136      *
00137      * @ORM\ManyToOne(targetEntity="User")
00138      * @ORM\JoinColumns({
00139      *   @ORM\JoinColumn(name="id_user_create_by", referencedColumnName="id_user")
00140      * })
00141      */
00142     private $idUserCreateBy;
00143 
00144     /**
00145      * @var \User
00146      *
00147      * @ORM\ManyToOne(targetEntity="User")
00148      * @ORM\JoinColumns({
00149      *   @ORM\JoinColumn(name="id_user_update_by", referencedColumnName="id_user")
00150      * })
00151      */
00152     private $idUserUpdateBy;
00153 
00154     /**
00155      * @var \Port
00156      *
00157      * @ORM\Id
00158      * @ORM\GeneratedValue(strategy="NONE")
00159      * @ORM\OneToOne(targetEntity="Port")
00160      * @ORM\JoinColumns({
00161      *   @ORM\JoinColumn(name="id_port", referencedColumnName="id_port")
00162      * })
00163      */
00164     private $idPort;
00165 
00166     /**
00167      * @var \PortType
00168      *
00169      * @ORM\ManyToOne(targetEntity="PortType")
00170      * @ORM\JoinColumns({
00171      *   @ORM\JoinColumn(name="id_port_type", referencedColumnName="id_port_type")
00172      * })
00173      */
00174     private $idPortType;
00175 
00176     /**
00177      * @var \Card
00178      *
00179      * @ORM\ManyToOne(targetEntity="Card")
00180      * @ORM\JoinColumns({
00181      *   @ORM\JoinColumn(name="id_card", referencedColumnName="id_card")
00182      * })
00183      */
00184     private $idCard;
00185 
00186 
00187 
00188     /**
00189      * Set cdPort
00190      *
00191      * @param string $cdPort
00192      * @return PortTemplate
00193      */
00194     public function setCdPort($cdPort)
00195     {
00196         $this->cdPort = $cdPort;
00197     
00198         return $this;
00199     }
00200 
00201     /**
00202      * Get cdPort
00203      *
00204      * @return string 
00205      */
00206     public function getCdPort()
00207     {
00208         return $this->cdPort;
00209     }
00210 
00211     /**
00212      * Set lbPort
00213      *
00214      * @param string $lbPort
00215      * @return PortTemplate
00216      */
00217     public function setLbPort($lbPort)
00218     {
00219         $this->lbPort = $lbPort;
00220     
00221         return $this;
00222     }
00223 
00224     /**
00225      * Get lbPort
00226      *
00227      * @return string 
00228      */
00229     public function getLbPort()
00230     {
00231         return $this->lbPort;
00232     }
00233 
00234     /**
00235      * Set cmPort
00236      *
00237      * @param string $cmPort
00238      * @return PortTemplate
00239      */
00240     public function setCmPort($cmPort)
00241     {
00242         $this->cmPort = $cmPort;
00243     
00244         return $this;
00245     }
00246 
00247     /**
00248      * Get cmPort
00249      *
00250      * @return string 
00251      */
00252     public function getCmPort()
00253     {
00254         return $this->cmPort;
00255     }
00256 
00257     /**
00258      * Set nbBandwidthUsed
00259      *
00260      * @param float $nbBandwidthUsed
00261      * @return PortTemplate
00262      */
00263     public function setNbBandwidthUsed($nbBandwidthUsed)
00264     {
00265         $this->nbBandwidthUsed = $nbBandwidthUsed;
00266     
00267         return $this;
00268     }
00269 
00270     /**
00271      * Get nbBandwidthUsed
00272      *
00273      * @return float 
00274      */
00275     public function getNbBandwidthUsed()
00276     {
00277         return $this->nbBandwidthUsed;
00278     }
00279 
00280     /**
00281      * Set nbBandwidthMax
00282      *
00283      * @param float $nbBandwidthMax
00284      * @return PortTemplate
00285      */
00286     public function setNbBandwidthMax($nbBandwidthMax)
00287     {
00288         $this->nbBandwidthMax = $nbBandwidthMax;
00289     
00290         return $this;
00291     }
00292 
00293     /**
00294      * Get nbBandwidthMax
00295      *
00296      * @return float 
00297      */
00298     public function getNbBandwidthMax()
00299     {
00300         return $this->nbBandwidthMax;
00301     }
00302 
00303     /**
00304      * Set nbTsUsed
00305      *
00306      * @param float $nbTsUsed
00307      * @return PortTemplate
00308      */
00309     public function setNbTsUsed($nbTsUsed)
00310     {
00311         $this->nbTsUsed = $nbTsUsed;
00312     
00313         return $this;
00314     }
00315 
00316     /**
00317      * Get nbTsUsed
00318      *
00319      * @return float 
00320      */
00321     public function getNbTsUsed()
00322     {
00323         return $this->nbTsUsed;
00324     }
00325 
00326     /**
00327      * Set nbTsCost
00328      *
00329      * @param float $nbTsCost
00330      * @return PortTemplate
00331      */
00332     public function setNbTsCost($nbTsCost)
00333     {
00334         $this->nbTsCost = $nbTsCost;
00335     
00336         return $this;
00337     }
00338 
00339     /**
00340      * Get nbTsCost
00341      *
00342      * @return float 
00343      */
00344     public function getNbTsCost()
00345     {
00346         return $this->nbTsCost;
00347     }
00348 
00349     /**
00350      * Set nbTsMax
00351      *
00352      * @param float $nbTsMax
00353      * @return PortTemplate
00354      */
00355     public function setNbTsMax($nbTsMax)
00356     {
00357         $this->nbTsMax = $nbTsMax;
00358     
00359         return $this;
00360     }
00361 
00362     /**
00363      * Get nbTsMax
00364      *
00365      * @return float 
00366      */
00367     public function getNbTsMax()
00368     {
00369         return $this->nbTsMax;
00370     }
00371 
00372     /**
00373      * Set nbTsFree
00374      *
00375      * @param float $nbTsFree
00376      * @return PortTemplate
00377      */
00378     public function setNbTsFree($nbTsFree)
00379     {
00380         $this->nbTsFree = $nbTsFree;
00381     
00382         return $this;
00383     }
00384 
00385     /**
00386      * Get nbTsFree
00387      *
00388      * @return float 
00389      */
00390     public function getNbTsFree()
00391     {
00392         return $this->nbTsFree;
00393     }
00394 
00395     /**
00396      * Set blFull
00397      *
00398      * @param boolean $blFull
00399      * @return PortTemplate
00400      */
00401     public function setBlFull($blFull)
00402     {
00403         $this->blFull = $blFull;
00404     
00405         return $this;
00406     }
00407 
00408     /**
00409      * Get blFull
00410      *
00411      * @return boolean 
00412      */
00413     public function getBlFull()
00414     {
00415         return $this->blFull;
00416     }
00417 
00418     /**
00419      * Set blFullCost
00420      *
00421      * @param boolean $blFullCost
00422      * @return PortTemplate
00423      */
00424     public function setBlFullCost($blFullCost)
00425     {
00426         $this->blFullCost = $blFullCost;
00427     
00428         return $this;
00429     }
00430 
00431     /**
00432      * Get blFullCost
00433      *
00434      * @return boolean 
00435      */
00436     public function getBlFullCost()
00437     {
00438         return $this->blFullCost;
00439     }
00440 
00441     /**
00442      * Set arTsRemote
00443      *
00444      * @param string $arTsRemote
00445      * @return PortTemplate
00446      */
00447     public function setArTsRemote($arTsRemote)
00448     {
00449         $this->arTsRemote = $arTsRemote;
00450     
00451         return $this;
00452     }
00453 
00454     /**
00455      * Get arTsRemote
00456      *
00457      * @return string 
00458      */
00459     public function getArTsRemote()
00460     {
00461         return $this->arTsRemote;
00462     }
00463 
00464     /**
00465      * Set dtStart
00466      *
00467      * @param \DateTime $dtStart
00468      * @return PortTemplate
00469      */
00470     public function setDtStart($dtStart)
00471     {
00472         $this->dtStart = $dtStart;
00473     
00474         return $this;
00475     }
00476 
00477     /**
00478      * Get dtStart
00479      *
00480      * @return \DateTime 
00481      */
00482     public function getDtStart()
00483     {
00484         return $this->dtStart;
00485     }
00486 
00487     /**
00488      * Set dtEnd
00489      *
00490      * @param \DateTime $dtEnd
00491      * @return PortTemplate
00492      */
00493     public function setDtEnd($dtEnd)
00494     {
00495         $this->dtEnd = $dtEnd;
00496     
00497         return $this;
00498     }
00499 
00500     /**
00501      * Get dtEnd
00502      *
00503      * @return \DateTime 
00504      */
00505     public function getDtEnd()
00506     {
00507         return $this->dtEnd;
00508     }
00509 
00510     /**
00511      * Set blDeactivated
00512      *
00513      * @param boolean $blDeactivated
00514      * @return PortTemplate
00515      */
00516     public function setBlDeactivated($blDeactivated)
00517     {
00518         $this->blDeactivated = $blDeactivated;
00519     
00520         return $this;
00521     }
00522 
00523     /**
00524      * Get blDeactivated
00525      *
00526      * @return boolean 
00527      */
00528     public function getBlDeactivated()
00529     {
00530         return $this->blDeactivated;
00531     }
00532 
00533     /**
00534      * Set dtCreate
00535      *
00536      * @param \DateTime $dtCreate
00537      * @return PortTemplate
00538      */
00539     public function setDtCreate($dtCreate)
00540     {
00541         $this->dtCreate = $dtCreate;
00542     
00543         return $this;
00544     }
00545 
00546     /**
00547      * Get dtCreate
00548      *
00549      * @return \DateTime 
00550      */
00551     public function getDtCreate()
00552     {
00553         return $this->dtCreate;
00554     }
00555 
00556     /**
00557      * Set dtUpdate
00558      *
00559      * @param \DateTime $dtUpdate
00560      * @return PortTemplate
00561      */
00562     public function setDtUpdate($dtUpdate)
00563     {
00564         $this->dtUpdate = $dtUpdate;
00565     
00566         return $this;
00567     }
00568 
00569     /**
00570      * Get dtUpdate
00571      *
00572      * @return \DateTime 
00573      */
00574     public function getDtUpdate()
00575     {
00576         return $this->dtUpdate;
00577     }
00578 
00579     /**
00580      * Set idUserCreateBy
00581      *
00582      * @param \Etrali\GinangBundle\Entity\User $idUserCreateBy
00583      * @return PortTemplate
00584      */
00585     public function setIdUserCreateBy(\Etrali\GinangBundle\Entity\User $idUserCreateBy = null)
00586     {
00587         $this->idUserCreateBy = $idUserCreateBy;
00588     
00589         return $this;
00590     }
00591 
00592     /**
00593      * Get idUserCreateBy
00594      *
00595      * @return \Etrali\GinangBundle\Entity\User 
00596      */
00597     public function getIdUserCreateBy()
00598     {
00599         return $this->idUserCreateBy;
00600     }
00601 
00602     /**
00603      * Set idUserUpdateBy
00604      *
00605      * @param \Etrali\GinangBundle\Entity\User $idUserUpdateBy
00606      * @return PortTemplate
00607      */
00608     public function setIdUserUpdateBy(\Etrali\GinangBundle\Entity\User $idUserUpdateBy = null)
00609     {
00610         $this->idUserUpdateBy = $idUserUpdateBy;
00611     
00612         return $this;
00613     }
00614 
00615     /**
00616      * Get idUserUpdateBy
00617      *
00618      * @return \Etrali\GinangBundle\Entity\User 
00619      */
00620     public function getIdUserUpdateBy()
00621     {
00622         return $this->idUserUpdateBy;
00623     }
00624 
00625     /**
00626      * Set idPort
00627      *
00628      * @param \Etrali\GinangBundle\Entity\Port $idPort
00629      * @return PortTemplate
00630      */
00631     public function setIdPort(\Etrali\GinangBundle\Entity\Port $idPort)
00632     {
00633         $this->idPort = $idPort;
00634     
00635         return $this;
00636     }
00637 
00638     /**
00639      * Get idPort
00640      *
00641      * @return \Etrali\GinangBundle\Entity\Port 
00642      */
00643     public function getIdPort()
00644     {
00645         return $this->idPort;
00646     }
00647 
00648     /**
00649      * Set idPortType
00650      *
00651      * @param \Etrali\GinangBundle\Entity\PortType $idPortType
00652      * @return PortTemplate
00653      */
00654     public function setIdPortType(\Etrali\GinangBundle\Entity\PortType $idPortType = null)
00655     {
00656         $this->idPortType = $idPortType;
00657     
00658         return $this;
00659     }
00660 
00661     /**
00662      * Get idPortType
00663      *
00664      * @return \Etrali\GinangBundle\Entity\PortType 
00665      */
00666     public function getIdPortType()
00667     {
00668         return $this->idPortType;
00669     }
00670 
00671     /**
00672      * Set idCard
00673      *
00674      * @param \Etrali\GinangBundle\Entity\Card $idCard
00675      * @return PortTemplate
00676      */
00677     public function setIdCard(\Etrali\GinangBundle\Entity\Card $idCard = null)
00678     {
00679         $this->idCard = $idCard;
00680     
00681         return $this;
00682     }
00683 
00684     /**
00685      * Get idCard
00686      *
00687      * @return \Etrali\GinangBundle\Entity\Card 
00688      */
00689     public function getIdCard()
00690     {
00691         return $this->idCard;
00692     }
00693 }
 All Classes Namespaces Files Functions Variables