Gina Next Generation
 All Classes Namespaces Files Functions Variables
Product.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  * Product
00009  *
00010  * @ORM\Table(name="product")
00011  * @ORM\Entity
00012  */
00013 class Product
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_product", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idProduct;
00023 
00024     /**
00025      * @var string
00026      *
00027      * @ORM\Column(name="cd_product", type="string", length=15, nullable=false)
00028      */
00029     private $cdProduct;
00030 
00031     /**
00032      * @var string
00033      *
00034      * @ORM\Column(name="lb_product", type="string", length=100, nullable=false)
00035      */
00036     private $lbProduct;
00037 
00038     /**
00039      * @var boolean
00040      *
00041      * @ORM\Column(name="bl_deactivated", type="boolean", nullable=true)
00042      */
00043     private $blDeactivated;
00044 
00045     /**
00046      * @var string
00047      *
00048      * @ORM\Column(name="lb_install_account", type="string", length=15, nullable=false)
00049      */
00050     private $lbInstallAccount;
00051 
00052     /**
00053      * @var string
00054      *
00055      * @ORM\Column(name="lb_monthly_account", type="string", length=15, nullable=false)
00056      */
00057     private $lbMonthlyAccount;
00058 
00059     /**
00060      * @var \DateTime
00061      *
00062      * @ORM\Column(name="dt_deactivated", type="datetime", nullable=true)
00063      */
00064     private $dtDeactivated;
00065 
00066     /**
00067      * @var \ProductType
00068      *
00069      * @ORM\ManyToOne(targetEntity="ProductType")
00070      * @ORM\JoinColumns({
00071      *   @ORM\JoinColumn(name="id_product_type", referencedColumnName="id_product_type")
00072      * })
00073      */
00074     private $idProductType;
00075 
00076 
00077 
00078     /**
00079      * Get idProduct
00080      *
00081      * @return integer 
00082      */
00083     public function getIdProduct()
00084     {
00085         return $this->idProduct;
00086     }
00087 
00088     /**
00089      * Set cdProduct
00090      *
00091      * @param string $cdProduct
00092      * @return Product
00093      */
00094     public function setCdProduct($cdProduct)
00095     {
00096         $this->cdProduct = $cdProduct;
00097     
00098         return $this;
00099     }
00100 
00101     /**
00102      * Get cdProduct
00103      *
00104      * @return string 
00105      */
00106     public function getCdProduct()
00107     {
00108         return $this->cdProduct;
00109     }
00110 
00111     /**
00112      * Set lbProduct
00113      *
00114      * @param string $lbProduct
00115      * @return Product
00116      */
00117     public function setLbProduct($lbProduct)
00118     {
00119         $this->lbProduct = $lbProduct;
00120     
00121         return $this;
00122     }
00123 
00124     /**
00125      * Get lbProduct
00126      *
00127      * @return string 
00128      */
00129     public function getLbProduct()
00130     {
00131         return $this->lbProduct;
00132     }
00133 
00134     /**
00135      * Set blDeactivated
00136      *
00137      * @param boolean $blDeactivated
00138      * @return Product
00139      */
00140     public function setBlDeactivated($blDeactivated)
00141     {
00142         $this->blDeactivated = $blDeactivated;
00143     
00144         return $this;
00145     }
00146 
00147     /**
00148      * Get blDeactivated
00149      *
00150      * @return boolean 
00151      */
00152     public function getBlDeactivated()
00153     {
00154         return $this->blDeactivated;
00155     }
00156 
00157     /**
00158      * Set lbInstallAccount
00159      *
00160      * @param string $lbInstallAccount
00161      * @return Product
00162      */
00163     public function setLbInstallAccount($lbInstallAccount)
00164     {
00165         $this->lbInstallAccount = $lbInstallAccount;
00166     
00167         return $this;
00168     }
00169 
00170     /**
00171      * Get lbInstallAccount
00172      *
00173      * @return string 
00174      */
00175     public function getLbInstallAccount()
00176     {
00177         return $this->lbInstallAccount;
00178     }
00179 
00180     /**
00181      * Set lbMonthlyAccount
00182      *
00183      * @param string $lbMonthlyAccount
00184      * @return Product
00185      */
00186     public function setLbMonthlyAccount($lbMonthlyAccount)
00187     {
00188         $this->lbMonthlyAccount = $lbMonthlyAccount;
00189     
00190         return $this;
00191     }
00192 
00193     /**
00194      * Get lbMonthlyAccount
00195      *
00196      * @return string 
00197      */
00198     public function getLbMonthlyAccount()
00199     {
00200         return $this->lbMonthlyAccount;
00201     }
00202 
00203     /**
00204      * Set dtDeactivated
00205      *
00206      * @param \DateTime $dtDeactivated
00207      * @return Product
00208      */
00209     public function setDtDeactivated($dtDeactivated)
00210     {
00211         $this->dtDeactivated = $dtDeactivated;
00212     
00213         return $this;
00214     }
00215 
00216     /**
00217      * Get dtDeactivated
00218      *
00219      * @return \DateTime 
00220      */
00221     public function getDtDeactivated()
00222     {
00223         return $this->dtDeactivated;
00224     }
00225 
00226     /**
00227      * Set idProductType
00228      *
00229      * @param \Etrali\GinangBundle\Entity\ProductType $idProductType
00230      * @return Product
00231      */
00232     public function setIdProductType(\Etrali\GinangBundle\Entity\ProductType $idProductType = null)
00233     {
00234         $this->idProductType = $idProductType;
00235     
00236         return $this;
00237     }
00238 
00239     /**
00240      * Get idProductType
00241      *
00242      * @return \Etrali\GinangBundle\Entity\ProductType 
00243      */
00244     public function getIdProductType()
00245     {
00246         return $this->idProductType;
00247     }
00248 }
 All Classes Namespaces Files Functions Variables