<?php
namespace Plugin\SSRecaptchaV342\Entity;
use Doctrine\ORM\Mapping as ORM;
if (!class_exists('\Plugin\SSRecaptchaV342\Entity\Config', false)) {
/**
* Config
*
* @ORM\Table(name="plg_ss_recaptcha_v342_config")
* @ORM\Entity(repositoryClass="Plugin\SSRecaptchaV342\Repository\ConfigRepository")
*/
class Config
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", options={"unsigned":true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="site_key", type="string", length=255)
*/
private $site_key;
/**
* @var string
*
* @ORM\Column(name="sec_key", type="string", length=255)
*/
private $sec_key;
/**
* @var string
*
* @ORM\Column(name="score", type="decimal", precision=2, scale=1, options={"unsigned":true, "default":0.5}, nullable=false)
*/
private $score = '0.5';
/**
* @var boolean
*
* @ORM\Column(name="is_badge", type="boolean", options={"default":true})
*/
private $is_badge = true;
/**
* @var boolean
*
* @ORM\Column(name="is_login", type="boolean", options={"default":true})
*/
private $is_login = true;
/**
* @var boolean
*
* @ORM\Column(name="is_entry_customer", type="boolean", options={"default":true})
*/
private $is_entry_customer = true;
/**
* @var boolean
*
* @ORM\Column(name="is_change_customer", type="boolean", options={"default":true})
*/
private $is_change_customer = true;
/**
* @var boolean
*
* @ORM\Column(name="is_forgot", type="boolean", options={"default":true})
*/
private $is_forgot = true;
/**
* @var boolean
*
* @ORM\Column(name="is_contact", type="boolean", options={"default":true})
*/
private $is_contact = true;
/**
* @var boolean
*
* @ORM\Column(name="is_shopping", type="boolean", options={"default":true})
*/
private $is_shopping = true;
/**
* @var boolean
*
* @ORM\Column(name="is_shopping_nonmember", type="boolean", options={"default":true})
*/
private $is_shopping_nonmember = true;
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @return string
*/
public function getSiteKey()
{
return $this->site_key;
}
/**
* @param string $siteKey
*
* @return $this;
*/
public function setSiteKey($siteKey)
{
$this->site_key = $siteKey;
return $this;
}
/**
* @return string
*/
public function getSecKey()
{
return $this->sec_key;
}
/**
* @param string $secKey
*
* @return $this;
*/
public function setSecKey($secKey)
{
$this->sec_key = $secKey;
return $this;
}
/**
* @return string
*/
public function getScore()
{
return $this->score;
}
/**
* @param string $score
*
* @return $this;
*/
public function setScore($score)
{
$this->score = $score;
return $this;
}
/**
* @return boolean
*/
public function getIsBadge()
{
return $this->is_badge;
}
/**
* @param boolean $isBadge
*
* @return $this;
*/
public function setIsBadge($isBadge)
{
$this->is_badge = $isBadge;
return $this;
}
/**
* @return boolean
*/
public function getIsLogin()
{
return $this->is_login;
}
/**
* @param boolean $isLogin
*
* @return $this;
*/
public function setIsLogin($isLogin)
{
$this->is_login = $isLogin;
return $this;
}
/**
* @return boolean
*/
public function getIsEntryCustomer()
{
return $this->is_entry_customer;
}
/**
* @param boolean $isEntryCustomer
*
* @return $this;
*/
public function setIsEntryCustomer($isEntryCustomer)
{
$this->is_entry_customer = $isEntryCustomer;
return $this;
}
/**
* @return boolean
*/
public function getIsChangeCustomer()
{
return $this->is_change_customer;
}
/**
* @param boolean $isChangeCustomer
*
* @return $this;
*/
public function setIsChangeCustomer($isChangeCustomer)
{
$this->is_change_customer = $isChangeCustomer;
return $this;
}
/**
* @return boolean
*/
public function getIsForgot()
{
return $this->is_forgot;
}
/**
* @param boolean $isForgot
*
* @return $this;
*/
public function setIsForgot($isForgot)
{
$this->is_forgot = $isForgot;
return $this;
}
/**
* @return boolean
*/
public function getIsContact()
{
return $this->is_contact;
}
/**
* @param boolean $isContact
*
* @return $this;
*/
public function setIsContact($isContact)
{
$this->is_contact = $isContact;
return $this;
}
/**
* @return boolean
*/
public function getIsShopping()
{
return $this->is_shopping;
}
/**
* @param boolean $isShopping
*
* @return $this;
*/
public function setIsShopping($isShopping)
{
$this->is_shopping = $isShopping;
return $this;
}
/**
* @return boolean
*/
public function getIsShoppingNonmember()
{
return $this->is_shopping_nonmember;
}
/**
* @param boolean $isShoppingNonmember
*
* @return $this;
*/
public function setIsShoppingNonmember($isShoppingNonmember)
{
$this->is_shopping_nonmember = $isShoppingNonmember;
return $this;
}
}
}