<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
*
* http://www.ec-cube.co.jp/
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Customize\Entity;
use Doctrine\ORM\Mapping as ORM;
if (!class_exists('\Customize\Entity\Faq')) {
/**
* Faq
*
* @ORM\Table(name="dtb_faq")
* @ORM\InheritanceType("SINGLE_TABLE")
* @ORM\DiscriminatorColumn(name="discriminator_type", type="string", length=255)
* @ORM\HasLifecycleCallbacks()
* @ORM\Entity(repositoryClass="Customize\Repository\FaqRepository")
*/
class Faq extends \Eccube\Entity\AbstractEntity
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", options={"unsigned":true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var integer
*
* @ORM\Column(name="sort_no", type="integer", options={"unsigned":true}, nullable=true)
*/
private $sort_no;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=255)
*/
private $title;
/**
* @var string
*
* @ORM\Column(name="note", type="string", length=255)
*/
private $note;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
/**
* @var string
*
* @ORM\Column(name="type_id", type="integer", nullable=true)
*/
private $type_id;
/**
* @var \DateTime
*
* @ORM\Column(name="create_date", type="datetimetz")
*/
private $create_date;
/**
* @var \DateTime
*
* @ORM\Column(name="update_date", type="datetimetz")
*/
private $update_date;
/**
* Set id.
*
* @param int $id
*
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Get Id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set sort_no.
*
* @param int $sort_no
*
*/
public function setSortNo($sort_no)
{
$this->sort_no = $sort_no;
return $this;
}
/**
* Get sort_no.
*
* @param int $sort_no
*
*/
public function getSortNo()
{
return $this->sort_no;
}
/**
* Set type_id.
*
* @param int $type_id
*
*/
public function setTypeId($type_id)
{
$this->type_id = $type_id;
return $this;
}
/**
* Get TypeId.
*
* @return int
*/
public function getTypeId()
{
return $this->type_id;
}
/**
* Get Title.
*
* @return int
*/
public function getTitle()
{
return $this->title;
}
/**
* Set title.
*
* @param int $title
*
* @return Coupon
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Get Note.
*
* @return string
*/
public function getNote()
{
return $this->note;
}
/**
* Set note.
*
* @param string $note
*
* @return Coupon
*/
public function setNote($note)
{
$this->note = $note;
return $this;
}
/**
* Get Description.
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set description.
*
* @param string $description
*
* @return Coupon
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Set createDate.
*
* @param \DateTime $createDate
*
* @return Coupon
*/
public function setCreateDate($createDate)
{
$this->create_date = $createDate;
return $this;
}
/**
* Get createDate.
*
* @return \DateTime
*/
public function getCreateDate()
{
return $this->create_date;
}
/**
* Set updateDate.
*
* @param \DateTime $updateDate
*
* @return Coupon
*/
public function setUpdateDate($updateDate)
{
$this->update_date = $updateDate;
return $this;
}
/**
* Get updateDate.
*
* @return \DateTime
*/
public function getUpdateDate()
{
return $this->update_date;
}
}
}