Gina Next Generation
 All Classes Namespaces Files Functions Variables
ShelfTemplate.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  * ShelfTemplate
00009  *
00010  * @ORM\Table(name="shelf_template")
00011  * @ORM\Entity
00012  */
00013 class ShelfTemplate
00014 {
00015     /**
00016      * @var string
00017      *
00018      * @ORM\Column(name="cd_shelf", type="string", length=15, nullable=true)
00019      */
00020     private $cdShelf;
00021 
00022     /**
00023      * @var string
00024      *
00025      * @ORM\Column(name="lb_shelf", type="string", length=255, nullable=true)
00026      */
00027     private $lbShelf;
00028 
00029     /**
00030      * @var string
00031      *
00032      * @ORM\Column(name="cm_shelf", type="string", length=255, nullable=true)
00033      */
00034     private $cmShelf;
00035 
00036     /**
00037      * @var string
00038      *
00039      * @ORM\Column(name="cd_serial_number", type="string", length=45, nullable=true)
00040      */
00041     private $cdSerialNumber;
00042 
00043     /**
00044      * @var float
00045      *
00046      * @ORM\Column(name="nb_position", type="decimal", nullable=true)
00047      */
00048     private $nbPosition;
00049 
00050     /**
00051      * @var \DateTime
00052      *
00053      * @ORM\Column(name="dt_start", type="datetime", nullable=true)
00054      */
00055     private $dtStart;
00056 
00057     /**
00058      * @var \DateTime
00059      *
00060      * @ORM\Column(name="dt_end", type="datetime", nullable=true)
00061      */
00062     private $dtEnd;
00063 
00064     /**
00065      * @var boolean
00066      *
00067      * @ORM\Column(name="bl_deactivated", type="boolean", nullable=true)
00068      */
00069     private $blDeactivated;
00070 
00071     /**
00072      * @var \DateTime
00073      *
00074      * @ORM\Column(name="dt_create", type="datetime", nullable=true)
00075      */
00076     private $dtCreate;
00077 
00078     /**
00079      * @var \Shelf
00080      *
00081      * @ORM\Id
00082      * @ORM\GeneratedValue(strategy="NONE")
00083      * @ORM\OneToOne(targetEntity="Shelf")
00084      * @ORM\JoinColumns({
00085      *   @ORM\JoinColumn(name="id_shelf", referencedColumnName="id_shelf")
00086      * })
00087      */
00088     private $idShelf;
00089 
00090     /**
00091      * @var \ShelfType
00092      *
00093      * @ORM\ManyToOne(targetEntity="ShelfType")
00094      * @ORM\JoinColumns({
00095      *   @ORM\JoinColumn(name="id_shelf_type", referencedColumnName="id_shelf_type")
00096      * })
00097      */
00098     private $idShelfType;
00099 
00100     /**
00101      * @var \Equipment
00102      *
00103      * @ORM\ManyToOne(targetEntity="Equipment")
00104      * @ORM\JoinColumns({
00105      *   @ORM\JoinColumn(name="id_equipment", referencedColumnName="id_equipment")
00106      * })
00107      */
00108     private $idEquipment;
00109 
00110     /**
00111      * @var \User
00112      *
00113      * @ORM\ManyToOne(targetEntity="User")
00114      * @ORM\JoinColumns({
00115      *   @ORM\JoinColumn(name="id_user_create", referencedColumnName="id_user")
00116      * })
00117      */
00118     private $idUserCreate;
00119 
00120 
00121 
00122     /**
00123      * Set cdShelf
00124      *
00125      * @param string $cdShelf
00126      * @return ShelfTemplate
00127      */
00128     public function setCdShelf($cdShelf)
00129     {
00130         $this->cdShelf = $cdShelf;
00131     
00132         return $this;
00133     }
00134 
00135     /**
00136      * Get cdShelf
00137      *
00138      * @return string 
00139      */
00140     public function getCdShelf()
00141     {
00142         return $this->cdShelf;
00143     }
00144 
00145     /**
00146      * Set lbShelf
00147      *
00148      * @param string $lbShelf
00149      * @return ShelfTemplate
00150      */
00151     public function setLbShelf($lbShelf)
00152     {
00153         $this->lbShelf = $lbShelf;
00154     
00155         return $this;
00156     }
00157 
00158     /**
00159      * Get lbShelf
00160      *
00161      * @return string 
00162      */
00163     public function getLbShelf()
00164     {
00165         return $this->lbShelf;
00166     }
00167 
00168     /**
00169      * Set cmShelf
00170      *
00171      * @param string $cmShelf
00172      * @return ShelfTemplate
00173      */
00174     public function setCmShelf($cmShelf)
00175     {
00176         $this->cmShelf = $cmShelf;
00177     
00178         return $this;
00179     }
00180 
00181     /**
00182      * Get cmShelf
00183      *
00184      * @return string 
00185      */
00186     public function getCmShelf()
00187     {
00188         return $this->cmShelf;
00189     }
00190 
00191     /**
00192      * Set cdSerialNumber
00193      *
00194      * @param string $cdSerialNumber
00195      * @return ShelfTemplate
00196      */
00197     public function setCdSerialNumber($cdSerialNumber)
00198     {
00199         $this->cdSerialNumber = $cdSerialNumber;
00200     
00201         return $this;
00202     }
00203 
00204     /**
00205      * Get cdSerialNumber
00206      *
00207      * @return string 
00208      */
00209     public function getCdSerialNumber()
00210     {
00211         return $this->cdSerialNumber;
00212     }
00213 
00214     /**
00215      * Set nbPosition
00216      *
00217      * @param float $nbPosition
00218      * @return ShelfTemplate
00219      */
00220     public function setNbPosition($nbPosition)
00221     {
00222         $this->nbPosition = $nbPosition;
00223     
00224         return $this;
00225     }
00226 
00227     /**
00228      * Get nbPosition
00229      *
00230      * @return float 
00231      */
00232     public function getNbPosition()
00233     {
00234         return $this->nbPosition;
00235     }
00236 
00237     /**
00238      * Set dtStart
00239      *
00240      * @param \DateTime $dtStart
00241      * @return ShelfTemplate
00242      */
00243     public function setDtStart($dtStart)
00244     {
00245         $this->dtStart = $dtStart;
00246     
00247         return $this;
00248     }
00249 
00250     /**
00251      * Get dtStart
00252      *
00253      * @return \DateTime 
00254      */
00255     public function getDtStart()
00256     {
00257         return $this->dtStart;
00258     }
00259 
00260     /**
00261      * Set dtEnd
00262      *
00263      * @param \DateTime $dtEnd
00264      * @return ShelfTemplate
00265      */
00266     public function setDtEnd($dtEnd)
00267     {
00268         $this->dtEnd = $dtEnd;
00269     
00270         return $this;
00271     }
00272 
00273     /**
00274      * Get dtEnd
00275      *
00276      * @return \DateTime 
00277      */
00278     public function getDtEnd()
00279     {
00280         return $this->dtEnd;
00281     }
00282 
00283     /**
00284      * Set blDeactivated
00285      *
00286      * @param boolean $blDeactivated
00287      * @return ShelfTemplate
00288      */
00289     public function setBlDeactivated($blDeactivated)
00290     {
00291         $this->blDeactivated = $blDeactivated;
00292     
00293         return $this;
00294     }
00295 
00296     /**
00297      * Get blDeactivated
00298      *
00299      * @return boolean 
00300      */
00301     public function getBlDeactivated()
00302     {
00303         return $this->blDeactivated;
00304     }
00305 
00306     /**
00307      * Set dtCreate
00308      *
00309      * @param \DateTime $dtCreate
00310      * @return ShelfTemplate
00311      */
00312     public function setDtCreate($dtCreate)
00313     {
00314         $this->dtCreate = $dtCreate;
00315     
00316         return $this;
00317     }
00318 
00319     /**
00320      * Get dtCreate
00321      *
00322      * @return \DateTime 
00323      */
00324     public function getDtCreate()
00325     {
00326         return $this->dtCreate;
00327     }
00328 
00329     /**
00330      * Set idShelf
00331      *
00332      * @param \Etrali\GinangBundle\Entity\Shelf $idShelf
00333      * @return ShelfTemplate
00334      */
00335     public function setIdShelf(\Etrali\GinangBundle\Entity\Shelf $idShelf)
00336     {
00337         $this->idShelf = $idShelf;
00338     
00339         return $this;
00340     }
00341 
00342     /**
00343      * Get idShelf
00344      *
00345      * @return \Etrali\GinangBundle\Entity\Shelf 
00346      */
00347     public function getIdShelf()
00348     {
00349         return $this->idShelf;
00350     }
00351 
00352     /**
00353      * Set idShelfType
00354      *
00355      * @param \Etrali\GinangBundle\Entity\ShelfType $idShelfType
00356      * @return ShelfTemplate
00357      */
00358     public function setIdShelfType(\Etrali\GinangBundle\Entity\ShelfType $idShelfType = null)
00359     {
00360         $this->idShelfType = $idShelfType;
00361     
00362         return $this;
00363     }
00364 
00365     /**
00366      * Get idShelfType
00367      *
00368      * @return \Etrali\GinangBundle\Entity\ShelfType 
00369      */
00370     public function getIdShelfType()
00371     {
00372         return $this->idShelfType;
00373     }
00374 
00375     /**
00376      * Set idEquipment
00377      *
00378      * @param \Etrali\GinangBundle\Entity\Equipment $idEquipment
00379      * @return ShelfTemplate
00380      */
00381     public function setIdEquipment(\Etrali\GinangBundle\Entity\Equipment $idEquipment = null)
00382     {
00383         $this->idEquipment = $idEquipment;
00384     
00385         return $this;
00386     }
00387 
00388     /**
00389      * Get idEquipment
00390      *
00391      * @return \Etrali\GinangBundle\Entity\Equipment 
00392      */
00393     public function getIdEquipment()
00394     {
00395         return $this->idEquipment;
00396     }
00397 
00398     /**
00399      * Set idUserCreate
00400      *
00401      * @param \Etrali\GinangBundle\Entity\User $idUserCreate
00402      * @return ShelfTemplate
00403      */
00404     public function setIdUserCreate(\Etrali\GinangBundle\Entity\User $idUserCreate = null)
00405     {
00406         $this->idUserCreate = $idUserCreate;
00407     
00408         return $this;
00409     }
00410 
00411     /**
00412      * Get idUserCreate
00413      *
00414      * @return \Etrali\GinangBundle\Entity\User 
00415      */
00416     public function getIdUserCreate()
00417     {
00418         return $this->idUserCreate;
00419     }
00420 }
 All Classes Namespaces Files Functions Variables