app/Plugin/HsdRelatedProduct42/Entity/Config.php line 13

Open in your IDE?
  1. <?php
  2. namespace Plugin\HsdRelatedProduct42\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Config
  6.  *
  7.  * @ORM\Table(name="plg_hsd_related_product_config")
  8.  * @ORM\Entity(repositoryClass="Plugin\HsdRelatedProduct42\Repository\ConfigRepository")
  9.  */
  10. class Config
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", options={"unsigned":true})
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var int
  22.      *
  23.      * @ORM\Column(name="max_num", type="integer", options={"unsigned":true})
  24.      */
  25.     private $max_num;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="max_row_num", type="integer", options={"unsigned":true})
  30.      */
  31.     private $max_row_num;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="title", type="string", length=128)
  36.      */
  37.     private $title;
  38.     /**
  39.      * @var string
  40.      *
  41.      * @ORM\Column(name="show_price", type="string", length=16)
  42.      */
  43.     private $show_price;
  44.     /**
  45.      * @var string
  46.      *
  47.      * @ORM\Column(name="show_type", type="string", length=16)
  48.      */
  49.     private $show_type;
  50.     /**
  51.      * @var string
  52.      *
  53.      * @ORM\Column(name="pagination", type="string", length=16)
  54.      */
  55.     private $pagination;
  56.     /**
  57.      * @var string
  58.      *
  59.      * @ORM\Column(name="navbuttons", type="string", length=16)
  60.      */
  61.     private $navbuttons;
  62.     /**
  63.      * @var string
  64.      *
  65.      * @ORM\Column(name="showloop", type="string", length=16)
  66.      */
  67.     private $showloop;
  68.     public function getId()
  69.     {
  70.         return $this->id;
  71.     }
  72.     public function setId($id)
  73.     {
  74.         $this->id = $id;
  75.         return $this;
  76.     }
  77.     public function getMaxNum()
  78.     {
  79.         return $this->max_num;
  80.     }
  81.     public function setMaxNum($num)
  82.     {
  83.         $this->max_num = $num;
  84.         return $this;
  85.     }
  86.     public function getMaxRowNum()
  87.     {
  88.         return $this->max_row_num;
  89.     }
  90.     public function setMaxRowNum($num)
  91.     {
  92.         $this->max_row_num = $num;
  93.         return $this;
  94.     }
  95.     public function getTitle()
  96.     {
  97.         return $this->title;
  98.     }
  99.     public function setTitle($str)
  100.     {
  101.         $this->title = $str;
  102.         return $this;
  103.     }
  104.     public function getShowPrice()
  105.     {
  106.         return $this->show_price;
  107.     }
  108.     public function setShowPrice($str)
  109.     {
  110.         $this->show_price = $str;
  111.         return $this;
  112.     }
  113.     public function getShowType()
  114.     {
  115.         return $this->show_type;
  116.     }
  117.     public function setShowType($str)
  118.     {
  119.         $this->show_type = $str;
  120.         return $this;
  121.     }
  122.     public function getPagination()
  123.     {
  124.         return $this->pagination;
  125.     }
  126.     public function setPagination($str)
  127.     {
  128.         $this->pagination = $str;
  129.         return $this;
  130.     }
  131.     public function getNavbuttons()
  132.     {
  133.         return $this->navbuttons;
  134.     }
  135.     public function setNavbuttons($str)
  136.     {
  137.         $this->navbuttons = $str;
  138.         return $this;
  139.     }
  140.     public function getShowloop()
  141.     {
  142.         return $this->showloop;
  143.     }
  144.     public function setShowloop($str)
  145.     {
  146.         $this->showloop = $str;
  147.         return $this;
  148.     }
  149. }