app/Plugin/SSRecaptchaV342/Entity/Config.php line 14

Open in your IDE?
  1. <?php
  2. namespace Plugin\SSRecaptchaV342\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. if (!class_exists('\Plugin\SSRecaptchaV342\Entity\Config'false)) {
  5.     /**
  6.      * Config
  7.      *
  8.      * @ORM\Table(name="plg_ss_recaptcha_v342_config")
  9.      * @ORM\Entity(repositoryClass="Plugin\SSRecaptchaV342\Repository\ConfigRepository")
  10.      */
  11.     class Config
  12.     {
  13.         /**
  14.          * @var int
  15.          *
  16.          * @ORM\Column(name="id", type="integer", options={"unsigned":true})
  17.          * @ORM\Id
  18.          * @ORM\GeneratedValue(strategy="IDENTITY")
  19.          */
  20.         private $id;
  21.         /**
  22.          * @var string
  23.          *
  24.          * @ORM\Column(name="site_key", type="string", length=255)
  25.          */
  26.         private $site_key;
  27.         /**
  28.          * @var string
  29.          *
  30.          * @ORM\Column(name="sec_key", type="string", length=255)
  31.          */
  32.         private $sec_key;
  33.         /**
  34.          * @var string
  35.          *
  36.          * @ORM\Column(name="score", type="decimal", precision=2, scale=1, options={"unsigned":true, "default":0.5}, nullable=false)
  37.          */
  38.         private $score '0.5';
  39.         /**
  40.          * @var boolean
  41.          *
  42.          * @ORM\Column(name="is_badge", type="boolean", options={"default":true})
  43.          */
  44.         private $is_badge true;
  45.         /**
  46.          * @var boolean
  47.          *
  48.          * @ORM\Column(name="is_login", type="boolean", options={"default":true})
  49.          */
  50.         private $is_login true;
  51.         /**
  52.          * @var boolean
  53.          *
  54.          * @ORM\Column(name="is_entry_customer", type="boolean", options={"default":true})
  55.          */
  56.         private $is_entry_customer true;
  57.         /**
  58.          * @var boolean
  59.          *
  60.          * @ORM\Column(name="is_change_customer", type="boolean", options={"default":true})
  61.          */
  62.         private $is_change_customer true;
  63.         /**
  64.          * @var boolean
  65.          *
  66.          * @ORM\Column(name="is_forgot", type="boolean", options={"default":true})
  67.          */
  68.         private $is_forgot true;
  69.         /**
  70.          * @var boolean
  71.          *
  72.          * @ORM\Column(name="is_contact", type="boolean", options={"default":true})
  73.          */
  74.         private $is_contact true;
  75.         /**
  76.          * @var boolean
  77.          *
  78.          * @ORM\Column(name="is_shopping", type="boolean", options={"default":true})
  79.          */
  80.         private $is_shopping true;
  81.         /**
  82.          * @var boolean
  83.          *
  84.          * @ORM\Column(name="is_shopping_nonmember", type="boolean", options={"default":true})
  85.          */
  86.         private $is_shopping_nonmember true;
  87.         /**
  88.          * @return int
  89.          */
  90.         public function getId()
  91.         {
  92.             return $this->id;
  93.         }
  94.         /**
  95.          * @return string
  96.          */
  97.         public function getSiteKey()
  98.         {
  99.             return $this->site_key;
  100.         }
  101.         /**
  102.          * @param string $siteKey
  103.          *
  104.          * @return $this;
  105.          */
  106.         public function setSiteKey($siteKey)
  107.         {
  108.             $this->site_key $siteKey;
  109.             return $this;
  110.         }
  111.         /**
  112.          * @return string
  113.          */
  114.         public function getSecKey()
  115.         {
  116.             return $this->sec_key;
  117.         }
  118.         /**
  119.          * @param string $secKey
  120.          *
  121.          * @return $this;
  122.          */
  123.         public function setSecKey($secKey)
  124.         {
  125.             $this->sec_key $secKey;
  126.             return $this;
  127.         }
  128.         /**
  129.          * @return string
  130.          */
  131.         public function getScore()
  132.         {
  133.             return $this->score;
  134.         }
  135.         /**
  136.          * @param string $score
  137.          *
  138.          * @return $this;
  139.          */
  140.         public function setScore($score)
  141.         {
  142.             $this->score $score;
  143.             return $this;
  144.         }
  145.         /**
  146.          * @return boolean
  147.          */
  148.         public function getIsBadge()
  149.         {
  150.             return $this->is_badge;
  151.         }
  152.         /**
  153.          * @param boolean $isBadge
  154.          *
  155.          * @return $this;
  156.          */
  157.         public function setIsBadge($isBadge)
  158.         {
  159.             $this->is_badge $isBadge;
  160.             return $this;
  161.         }
  162.         /**
  163.          * @return boolean
  164.          */
  165.         public function getIsLogin()
  166.         {
  167.             return $this->is_login;
  168.         }
  169.         /**
  170.          * @param boolean $isLogin
  171.          *
  172.          * @return $this;
  173.          */
  174.         public function setIsLogin($isLogin)
  175.         {
  176.             $this->is_login $isLogin;
  177.             return $this;
  178.         }
  179.         /**
  180.          * @return boolean
  181.          */
  182.         public function getIsEntryCustomer()
  183.         {
  184.             return $this->is_entry_customer;
  185.         }
  186.         /**
  187.          * @param boolean $isEntryCustomer
  188.          *
  189.          * @return $this;
  190.          */
  191.         public function setIsEntryCustomer($isEntryCustomer)
  192.         {
  193.             $this->is_entry_customer $isEntryCustomer;
  194.             return $this;
  195.         }
  196.         /**
  197.          * @return boolean
  198.          */
  199.         public function getIsChangeCustomer()
  200.         {
  201.             return $this->is_change_customer;
  202.         }
  203.         /**
  204.          * @param boolean $isChangeCustomer
  205.          *
  206.          * @return $this;
  207.          */
  208.         public function setIsChangeCustomer($isChangeCustomer)
  209.         {
  210.             $this->is_change_customer $isChangeCustomer;
  211.             return $this;
  212.         }
  213.         /**
  214.          * @return boolean
  215.          */
  216.         public function getIsForgot()
  217.         {
  218.             return $this->is_forgot;
  219.         }
  220.         /**
  221.          * @param boolean $isForgot
  222.          *
  223.          * @return $this;
  224.          */
  225.         public function setIsForgot($isForgot)
  226.         {
  227.             $this->is_forgot $isForgot;
  228.             return $this;
  229.         }
  230.         /**
  231.          * @return boolean
  232.          */
  233.         public function getIsContact()
  234.         {
  235.             return $this->is_contact;
  236.         }
  237.         /**
  238.          * @param boolean $isContact
  239.          *
  240.          * @return $this;
  241.          */
  242.         public function setIsContact($isContact)
  243.         {
  244.             $this->is_contact $isContact;
  245.             return $this;
  246.         }
  247.         /**
  248.          * @return boolean
  249.          */
  250.         public function getIsShopping()
  251.         {
  252.             return $this->is_shopping;
  253.         }
  254.         /**
  255.          * @param boolean $isShopping
  256.          *
  257.          * @return $this;
  258.          */
  259.         public function setIsShopping($isShopping)
  260.         {
  261.             $this->is_shopping $isShopping;
  262.             return $this;
  263.         }
  264.         /**
  265.          * @return boolean
  266.          */
  267.         public function getIsShoppingNonmember()
  268.         {
  269.             return $this->is_shopping_nonmember;
  270.         }
  271.         /**
  272.          * @param boolean $isShoppingNonmember
  273.          *
  274.          * @return $this;
  275.          */
  276.         public function setIsShoppingNonmember($isShoppingNonmember)
  277.         {
  278.             $this->is_shopping_nonmember $isShoppingNonmember;
  279.             return $this;
  280.         }
  281.     }
  282. }