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

Open in your IDE?
  1. <?php
  2. namespace Plugin\HsdDiscountRate42\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Config
  6.  *
  7.  * @ORM\Table(name="plg_discount_rate")
  8.  * @ORM\Entity(repositoryClass="Plugin\HsdDiscountRate42\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="show_addr", type="integer")
  24.      */
  25.     private $show_addr;
  26.     /**
  27.      * @var int
  28.      *
  29.      * @ORM\Column(name="show_color", type="string", length=16)
  30.      */
  31.     private $show_color;
  32.     /**
  33.      * @var int
  34.      *
  35.      * @ORM\Column(name="back_color", type="string", length=16)
  36.      */
  37.     private $back_color;
  38.     /**
  39.      * @var int
  40.      *
  41.      * @ORM\Column(name="show_size", type="string", length=16)
  42.      */
  43.     private $show_size;
  44.     /**
  45.      * @var int
  46.      *
  47.      * @ORM\Column(name="show_size_list", type="string", length=16)
  48.      */
  49.     private $show_size_list;
  50.     /**
  51.      * @var int
  52.      *
  53.      * @ORM\Column(name="bef_txt", type="string", length=64, nullable=true)
  54.      */
  55.     private $bef_txt;
  56.     /**
  57.      * @var int
  58.      *
  59.      * @ORM\Column(name="aft_txt", type="string", length=64, nullable=true)
  60.      */
  61.     private $aft_txt;
  62.     /**
  63.      * @var int
  64.      *
  65.      * @ORM\Column(name="is_listpage", type="integer")
  66.      */
  67.     private $is_listpage;
  68.     /**
  69.      * @var int
  70.      *
  71.      * @ORM\Column(name="is_show", type="integer")
  72.      */
  73.     private $is_show;
  74.     public function getId()
  75.     {
  76.         return $this->id;
  77.     }
  78.     public function setId($id)
  79.     {
  80.         $this->id $id;
  81.         return $this;
  82.     }
  83.     public function getShowAddr()
  84.     {
  85.         return $this->show_addr;
  86.     }
  87.     public function setShowAddr($str)
  88.     {
  89.         $this->show_addr $str;
  90.         return $this;
  91.     }
  92.     public function getShowColor()
  93.     {
  94.         return $this->show_color;
  95.     }
  96.     public function setShowColor($str)
  97.     {
  98.         $this->show_color $str;
  99.         return $this;
  100.     }
  101.     public function getBackColor()
  102.     {
  103.         return $this->back_color;
  104.     }
  105.     public function setBackColor($str)
  106.     {
  107.         $this->back_color $str;
  108.         return $this;
  109.     }
  110.     public function getShowSize()
  111.     {
  112.         return $this->show_size;
  113.     }
  114.     public function setShowSize($str)
  115.     {
  116.         $this->show_size $str;
  117.         return $this;
  118.     }
  119.     public function getShowSizeList()
  120.     {
  121.         return $this->show_size_list;
  122.     }
  123.     public function setShowSizeList($str)
  124.     {
  125.         $this->show_size_list $str;
  126.         return $this;
  127.     }
  128.     public function getBefTxt()
  129.     {
  130.         return $this->bef_txt;
  131.     }
  132.     public function setBefTxt($str)
  133.     {
  134.         $this->bef_txt $str;
  135.         return $this;
  136.     }
  137.     public function getAftTxt()
  138.     {
  139.         return $this->aft_txt;
  140.     }
  141.     public function setAftTxt($str)
  142.     {
  143.         $this->aft_txt $str;
  144.         return $this;
  145.     }
  146.     public function getIsListpage()
  147.     {
  148.         return $this->is_listpage;
  149.     }
  150.     public function setIsListpage($_int)
  151.     {
  152.         $this->is_listpage $_int;
  153.         return $this;
  154.     }
  155.     public function getIsShow()
  156.     {
  157.         return $this->is_show;
  158.     }
  159.     public function setIsShow($_int)
  160.     {
  161.         $this->is_show $_int;
  162.         return $this;
  163.     }
  164. }