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