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