app/Plugin/SEOAllOne42/Entity/SEOAllOneDefault.php line 16

Open in your IDE?
  1. <?php
  2. namespace Plugin\SEOAllOne42\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * SEOAllOneDefault
  6.  * 
  7.  * @ORM\Table(name="plg_seoallone_default")
  8.  * @ORM\InheritanceType("SINGLE_TABLE")
  9.  * @ORM\DiscriminatorColumn(name="discriminator_type", type="string", length=255)
  10.  * @ORM\HasLifecycleCallbacks()
  11.  * @ORM\Entity(repositoryClass="Plugin\SEOAllOne42\Repository\SEOAllOneDefaultRepository")
  12.  */
  13. class SEOAllOneDefault extends \Eccube\Entity\AbstractEntity
  14. {
  15.     /**
  16.      * @var int
  17.      * 
  18.      * @ORM\Column(name="id", type="integer", options={"unsigned":true})
  19.      * @ORM\Id
  20.      * @ORM\GeneratedValue(strategy="IDENTITY")
  21.      */
  22.     private $id;
  23.     /**
  24.      * @var \Eccube\Entity\Page
  25.      * @ORM\OneToOne(targetEntity="\Eccube\Entity\Page")
  26.      * @ORM\JoinColumns({
  27.      *  @ORM\JoinColumn(name="page_id", referencedColumnName="id", onDelete="CASCADE")
  28.      * })
  29.      */
  30.     private $Page;
  31.     /**
  32.      * @var string
  33.      * 
  34.      * @ORM\Column(name="title", type="text", nullable=true)
  35.      */
  36.     private $title;
  37.     /**
  38.      * @var string
  39.      * 
  40.      * @ORM\Column(name="author", type="text", nullable=true)
  41.      */
  42.     private $author;
  43.     /**
  44.      * @var string
  45.      * 
  46.      * @ORM\Column(name="description", type="text", nullable=true)
  47.      */
  48.     private $description;
  49.     /**
  50.      * @var string
  51.      * 
  52.      * @ORM\Column(name="keyword", type="text", nullable=true)
  53.      */
  54.     private $keyword;
  55.     /**
  56.      * @var string
  57.      * 
  58.      * @ORM\Column(name="canonical", type="text", nullable=true)
  59.      */
  60.     private $canonical;
  61.     /**
  62.      * @var string
  63.      * 
  64.      * @ORM\Column(name="og_title", type="text", nullable=true)
  65.      */
  66.     private $og_title;
  67.     /**
  68.      * @var string
  69.      * 
  70.      * @ORM\Column(name="og_description", type="text", nullable=true)
  71.      */
  72.     private $og_description;
  73.     /**
  74.      * @var string
  75.      * 
  76.      * @ORM\Column(name="og_site_name", type="string", nullable=true, length=255)
  77.      */
  78.     private $og_site_name;
  79.     /**
  80.      * @var string
  81.      * 
  82.      * @ORM\Column(name="og_type", type="string", nullable=true, length=255)
  83.      */
  84.     private $og_type;
  85.     /**
  86.      * @var string
  87.      * 
  88.      * @ORM\Column(name="og_url", type="text", nullable=true, length=65535)
  89.      */
  90.     private $og_url;
  91.     /**
  92.      * @var string
  93.      * 
  94.      * @ORM\Column(name="og_image", type="text", nullable=true, length=65535)
  95.      */
  96.     private $og_image;
  97.     
  98.     /**
  99.      * @var int
  100.      * 
  101.      * @ORM\Column(name="del_flg", type="smallint", options={"unsigned":true})
  102.      */
  103.     private $del_flg;
  104.     /**
  105.      * @var \DateTime
  106.      *
  107.      * @ORM\Column(name="create_date", type="datetimetz")
  108.      */
  109.     private $create_date;
  110.     /**
  111.      * @var \DateTime
  112.      *
  113.      * @ORM\Column(name="update_date", type="datetimetz")
  114.      */
  115.     private $update_date;
  116.     /**
  117.      * Constructor
  118.      */
  119.     public function __construct()
  120.     {
  121.     }
  122.     /**
  123.      * @return int
  124.      */
  125.     public function getId()
  126.     {
  127.         return $this->id;
  128.     }
  129.     /**
  130.      * @return string
  131.      */
  132.     public function getTitle()
  133.     {
  134.         return $this->title;
  135.     }
  136.     /**
  137.      * @param string $title
  138.      * 
  139.      * @return $this;
  140.      */
  141.     public function setTitle($title)
  142.     {
  143.         $this->title $title;
  144.         return $this;
  145.     }
  146.     /**
  147.      * @return string
  148.      */
  149.     public function getAuthor()
  150.     {
  151.         return $this->author;
  152.     }
  153.     /**
  154.      * @param string $author
  155.      * 
  156.      * @return $this;
  157.      */
  158.     public function setAuthor($author)
  159.     {
  160.         $this->author $author;
  161.         return $this;
  162.     }
  163.     /**
  164.      * @return string
  165.      */
  166.     public function getDescription()
  167.     {
  168.         return $this->description;
  169.     }
  170.     /**
  171.      * @param string $description
  172.      * 
  173.      * @return $this;
  174.      */
  175.     public function setDescription($description)
  176.     {
  177.         $this->description $description;
  178.         return $this;
  179.     }
  180.     /**
  181.      * @return string
  182.      */
  183.     public function getKeyword()
  184.     {
  185.         return $this->keyword;
  186.     }
  187.     /**
  188.      * @param string $keyword
  189.      * 
  190.      * @return $this;
  191.      */
  192.     public function setKeyword($keyword)
  193.     {
  194.         $this->keyword $keyword;
  195.         return $this;
  196.     }
  197.     /**
  198.      * @return string
  199.      */
  200.     public function getCanonical()
  201.     {
  202.         return $this->canonical;
  203.     }
  204.     /**
  205.      * @param string $canonical
  206.      * 
  207.      * @return $this;
  208.      */
  209.     public function setCanonical($canonical)
  210.     {
  211.         $this->canonical $canonical;
  212.         return $this;
  213.     }
  214.     /**
  215.      * @return string
  216.      */
  217.      public function getOGTitle()
  218.     {
  219.         return $this->og_title;
  220.     }
  221.  
  222.      /**
  223.       * @param string $og_title
  224.       * 
  225.       * @return $this;
  226.       */
  227.      public function setOGTitle($og_title)
  228.     {
  229.         $this->og_title $og_title;
  230.         return $this;
  231.     }
  232.     /**
  233.      * @return string
  234.      */
  235.      public function getOGDescription()
  236.     {
  237.         return $this->og_description;
  238.     }
  239.  
  240.      /**
  241.       * @param string $og_description
  242.       * 
  243.       * @return $this;
  244.       */
  245.      public function setOGDescription($og_description)
  246.     {
  247.         $this->og_description $og_description;
  248.         return $this;
  249.     }
  250.     /**
  251.      * @return string
  252.      */
  253.     public function getOGSiteName()
  254.     {
  255.         return $this->og_site_name;
  256.     }
  257.  
  258.      /**
  259.       * @param string $og_site_name
  260.       * 
  261.       * @return $this;
  262.       */
  263.     public function setOGSiteName($og_site_name)
  264.     {
  265.         $this->og_site_name $og_site_name;
  266.         return $this;
  267.     }
  268.     /**
  269.      * @return string
  270.      */
  271.     public function getOGType()
  272.     {
  273.         return $this->og_type;
  274.     }
  275.  
  276.      /**
  277.       * @param string $og_type
  278.       * 
  279.       * @return $this;
  280.       */
  281.     public function setOGType($og_type)
  282.     {
  283.         $this->og_type $og_type;
  284.         return $this;
  285.     }
  286.     /**
  287.      * @return string
  288.      */
  289.     public function getOGUrl()
  290.     {
  291.         return $this->og_url;
  292.     }
  293.  
  294.      /**
  295.       * @param string $og_url
  296.       * 
  297.       * @return $this;
  298.       */
  299.     public function setOGUrl($og_url)
  300.     {
  301.         $this->og_url $og_url;
  302.         return $this;
  303.     }
  304.     /**
  305.      * @return string
  306.      */
  307.     public function getOGImage()
  308.     {
  309.         return $this->og_image;
  310.     }
  311.  
  312.      /**
  313.       * @param string $og_image
  314.       * 
  315.       * @return $this;
  316.       */
  317.     public function setOGImage($og_image)
  318.     {
  319.         $this->og_image $og_image;
  320.         return $this;
  321.     }
  322.     /**
  323.      * @param \Eccube\Entity\Page $page
  324.      * 
  325.      * @return $this;
  326.      */
  327.     public function setPage(\Eccube\Entity\Page $page)
  328.     {
  329.         $this->Page $page;
  330.         return $this;
  331.     }
  332.     /**
  333.      * @return \Eccube\Entity\Page
  334.      */
  335.     public function getPage()
  336.     {
  337.         return $this->Page;
  338.     }
  339.     /**
  340.      * Set del_flg
  341.      *
  342.      * @param integer $delFlg
  343.      * @return Product
  344.      */
  345.     public function setDelFlg($delFlg)
  346.     {
  347.         $this->del_flg $delFlg;
  348.         return $this;
  349.     }
  350.     /**
  351.      * Get del_flg
  352.      *
  353.      * @return integer 
  354.      */
  355.     public function getDelFlg()
  356.     {
  357.         return $this->del_flg;
  358.     }
  359.     /**
  360.      * Set create_date
  361.      *
  362.      * @param \DateTime $createDate
  363.      * @return $this
  364.      */
  365.     public function setCreateDate($createDate)
  366.     {
  367.         $this->create_date $createDate;
  368.         return $this;
  369.     }
  370.     /**
  371.      * Get create_date
  372.      *
  373.      * @return \DateTime 
  374.      */
  375.     public function getCreateDate()
  376.     {
  377.         return $this->create_date;
  378.     }
  379.     /**
  380.      * Set update_date
  381.      *
  382.      * @param \DateTime $updateDate
  383.      * @return $this
  384.      */
  385.     public function setUpdateDate($updateDate)
  386.     {
  387.         $this->update_date $updateDate;
  388.         return $this;
  389.     }
  390.     /**
  391.      * Get update_date
  392.      *
  393.      * @return \DateTime 
  394.      */
  395.     public function getUpdateDate()
  396.     {
  397.         return $this->update_date;
  398.     }
  399. }
  400. ?>