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

Open in your IDE?
  1. <?php
  2. namespace Plugin\SEOAllOne42\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Config
  6.  *
  7.  * @ORM\Table(name="plg_seoallone_config")
  8.  * @ORM\Entity(repositoryClass="Plugin\SEOAllOne42\Repository\ConfigRepository")
  9.  */
  10. class Config extends \Eccube\Entity\AbstractEntity
  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 boolean
  22.      *
  23.      * @ORM\Column(name="rich_snippet_flg", type="boolean", options={"default":false})
  24.      */
  25.     private $rich_snippet_flg;
  26.     /**
  27.      * @var boolean
  28.      *
  29.      * @ORM\Column(name="sns_flg", type="boolean", options={"default":false})
  30.      */
  31.     private $sns_flg;
  32.     /**
  33.      * @var boolean
  34.      *
  35.      * @ORM\Column(name="sitemap_flg", type="boolean", options={"default":false})
  36.      */
  37.     private $sitemap_flg;
  38.     /**
  39.      * @var boolean
  40.      *
  41.      * @ORM\Column(name="pagination_flg", type="boolean", options={"default":false})
  42.      */
  43.     private $pagination_flg;
  44.     /**
  45.      * @var boolean
  46.      *
  47.      * @ORM\Column(name="breadcrumb_flg", type="boolean", options={"default":false})
  48.      */
  49.     private $breadcrumb_flg;
  50.     /**
  51.      * @var int
  52.      *
  53.      * @ORM\Column(name="facebook_flg", type="boolean", options={"default":false})
  54.      */
  55.     private $facebook_flg;
  56.     /**
  57.      * @var int
  58.      *
  59.      * @ORM\Column(name="twitter_flg", type="boolean", options={"default":false})
  60.      */
  61.     private $twitter_flg;
  62.     /**
  63.      * @var int
  64.      *
  65.      * @ORM\Column(name="line_flg", type="boolean", options={"default":false})
  66.      */
  67.     private $line_flg;
  68.     /**
  69.      * @var int
  70.      *
  71.      * @ORM\Column(name="shop_name_top_flg", type="boolean", options={"default":true})
  72.      */
  73.     private $shop_name_top_flg;
  74.     /**
  75.      * @var int
  76.      *
  77.      * @ORM\Column(name="shop_name_product_flg", type="boolean", options={"default":true})
  78.      */
  79.     private $shop_name_product_flg;
  80.     /**
  81.      * @var int
  82.      *
  83.      * @ORM\Column(name="global_id_flg", type="boolean", options={"default":false})
  84.      */
  85.     private $global_id_flg;
  86.     /**
  87.      * @var int
  88.      *
  89.      * @ORM\Column(name="global_id_type", type="integer", nullable=true)
  90.      */
  91.     private $global_id_type;
  92.     /**
  93.      * @var int
  94.      *
  95.      * @ORM\Column(name="valid_price_flg", type="boolean", options={"default":false})
  96.      */
  97.     private $valid_price_flg;
  98.     /**
  99.      * @var int
  100.      *
  101.      * @ORM\Column(name="valid_price_month", type="integer", nullable=true)
  102.      */
  103.     private $valid_price_month;
  104.     /**
  105.      * @var int
  106.      *
  107.      * @ORM\Column(name="canonical_flg", type="boolean", options={"default":true})
  108.      */
  109.     private $canonical_flg;
  110.     /**
  111.      * @return int
  112.      */
  113.     public function getId()
  114.     {
  115.         return $this->id;
  116.     }
  117.     /**
  118.      * @return boolean
  119.      */
  120.     public function getRichSnippetFlg()
  121.     {
  122.         return $this->rich_snippet_flg;
  123.     }
  124.     /**
  125.      * @param boolean $rich_snippet_flg
  126.      *
  127.      * @return $this;
  128.      */
  129.     public function setRichSnippetFlg($rich_snippet_flg)
  130.     {
  131.         $this->rich_snippet_flg $rich_snippet_flg;
  132.         return $this;
  133.     }
  134.     /**
  135.      * @return boolean
  136.      */
  137.     public function getSnsFlg()
  138.     {
  139.         return $this->sns_flg;
  140.     }
  141.     /**
  142.      * @param boolean $sns_flg
  143.      *
  144.      * @return $this;
  145.      */
  146.     public function setSnsFlg($sns_flg)
  147.     {
  148.         $this->sns_flg $sns_flg;
  149.         return $this;
  150.     }
  151.     /**
  152.      * @return boolean
  153.      */
  154.     public function getSitemapFlg()
  155.     {
  156.         return $this->sitemap_flg;
  157.     }
  158.     /**
  159.      * @param boolean $sitemap_flg
  160.      *
  161.      * @return $this;
  162.      */
  163.     public function setSitemapFlg($sitemap_flg)
  164.     {
  165.         $this->sitemap_flg $sitemap_flg;
  166.         return $this;
  167.     }
  168.     /**
  169.      * @return boolean
  170.      */
  171.     public function getPaginationFlg()
  172.     {
  173.         return $this->pagination_flg;
  174.     }
  175.     /**
  176.      * @param boolean $pagination_flg
  177.      *
  178.      * @return $this;
  179.      */
  180.     public function setPaginationFlg($pagination_flg)
  181.     {
  182.         $this->pagination_flg $pagination_flg;
  183.         return $this;
  184.     }
  185.     /**
  186.      * @return boolean
  187.      */
  188.     public function getBreadCrumbFlg()
  189.     {
  190.         return $this->breadcrumb_flg;
  191.     }
  192.     /**
  193.      * @param boolean $breadcrumb_flg
  194.      *
  195.      * @return $this;
  196.      */
  197.     public function setBreadCrumbFlg($breadcrumb_flg)
  198.     {
  199.         $this->breadcrumb_flg $breadcrumb_flg;
  200.         return $this;
  201.     }
  202.     /**
  203.      * Set facebook_flg
  204.      *
  205.      * @param boolean $facebook_flg
  206.      * @return $this;
  207.      */
  208.     public function setFacebookFlg($facebook_flg)
  209.     {
  210.         $this->facebook_flg $facebook_flg;
  211.         return $this;
  212.     }
  213.     /**
  214.      * Get facebook_flg
  215.      *
  216.      * @return boolean 
  217.      */
  218.     public function getFacebookFlg()
  219.     {
  220.         return $this->facebook_flg;
  221.     }
  222.     /**
  223.      * Set twitter_flg
  224.      *
  225.      * @param boolean $twitter_flg
  226.      * @return $this;
  227.      */
  228.     public function setTwitterFlg($twitter_flg)
  229.     {
  230.         $this->twitter_flg $twitter_flg;
  231.         return $this;
  232.     }
  233.     /**
  234.      * Get twitter_flg
  235.      *
  236.      * @return boolean 
  237.      */
  238.     public function getTwitterFlg()
  239.     {
  240.         return $this->twitter_flg;
  241.     }
  242.     /**
  243.      * Set line_flg
  244.      *
  245.      * @param boolean $line_flg
  246.      * @return $this;
  247.      */
  248.     public function setLineFlg($line_flg)
  249.     {
  250.         $this->line_flg $line_flg;
  251.         return $this;
  252.     }
  253.     /**
  254.      * Get line_flg
  255.      *
  256.      * @return boolean 
  257.      */
  258.     public function getLineFlg()
  259.     {
  260.         return $this->line_flg;
  261.     }
  262.     /**
  263.      * Set shop_name_top_flg
  264.      *
  265.      * @param boolean $shop_name_top_flg
  266.      * @return $this;
  267.      */
  268.     public function setShopNameTopFlg($shop_name_top_flg)
  269.     {
  270.         $this->shop_name_top_flg $shop_name_top_flg;
  271.         return $this;
  272.     }
  273.     /**
  274.      * Get shop_name_top_flg
  275.      *
  276.      * @return boolean 
  277.      */
  278.     public function getShopNameTopFlg()
  279.     {
  280.         return $this->shop_name_top_flg;
  281.     }
  282.     /**
  283.      * Set shop_name_product_flg
  284.      *
  285.      * @param boolean $shop_name_product_flg
  286.      * @return $this;
  287.      */
  288.     public function setShopNameProductFlg($shop_name_product_flg)
  289.     {
  290.         $this->shop_name_product_flg $shop_name_product_flg;
  291.         return $this;
  292.     }
  293.     /**
  294.      * Get shop_name_product_flg
  295.      *
  296.      * @return boolean 
  297.      */
  298.     public function getShopNameProductFlg()
  299.     {
  300.         return $this->shop_name_product_flg;
  301.     }
  302.     /**
  303.      * Set global_id_flg
  304.      *
  305.      * @param boolean $global_id_flg
  306.      * @return $this;
  307.      */
  308.     public function setGlobalIdFlg($global_id_flg)
  309.     {
  310.         $this->global_id_flg $global_id_flg;
  311.         return $this;
  312.     }
  313.     /**
  314.      * Get global_id_flg
  315.      *
  316.      * @return boolean 
  317.      */
  318.     public function getGlobalIdFlg()
  319.     {
  320.         return $this->global_id_flg;
  321.     }
  322.     /**
  323.      * Set global_id_type
  324.      *
  325.      * @param integer $global_id_type
  326.      * @return $this;
  327.      */
  328.     public function setGlobalIdType($global_id_type)
  329.     {
  330.         $this->global_id_type $global_id_type;
  331.         return $this;
  332.     }
  333.     /**
  334.      * Get global_id_type
  335.      *
  336.      * @return integer 
  337.      */
  338.     public function getGlobalIdType()
  339.     {
  340.         return $this->global_id_type;
  341.     }
  342.     /**
  343.      * Set valid_price_flg
  344.      *
  345.      * @param boolean $valid_price_flg
  346.      * @return $this;
  347.      */
  348.     public function setValidPriceFlg($valid_price_flg)
  349.     {
  350.         $this->valid_price_flg $valid_price_flg;
  351.         return $this;
  352.     }
  353.     /**
  354.      * Get valid_price_flg
  355.      *
  356.      * @return boolean 
  357.      */
  358.     public function getValidPriceFlg()
  359.     {
  360.         return $this->valid_price_flg;
  361.     }
  362.     /**
  363.      * Set valid_price_month
  364.      *
  365.      * @param integer $valid_price_month
  366.      * @return $this;
  367.      */
  368.     public function setValidPriceMonth($valid_price_month)
  369.     {
  370.         $this->valid_price_month $valid_price_month;
  371.         return $this;
  372.     }
  373.     /**
  374.      * Get valid_price_month
  375.      *
  376.      * @return integer 
  377.      */
  378.     public function getValidPriceMonth()
  379.     {
  380.         return $this->valid_price_month;
  381.     }    
  382.     
  383.     /**
  384.      * @return boolean
  385.      */
  386.     public function getCanonicalFlg()
  387.     {
  388.         return $this->canonical_flg;
  389.     }
  390.     /**
  391.      * @param boolean $canonical_flg
  392.      *
  393.      * @return $this;
  394.      */
  395.     public function setCanonicalFlg($canonical_flg)
  396.     {
  397.         $this->canonical_flg $canonical_flg;
  398.         return $this;
  399.     }
  400. }