app/Customize/Entity/Master/ContractType.php line 28

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of EC-CUBE
  4.  *
  5.  * Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  6.  *
  7.  * http://www.ec-cube.co.jp/
  8.  *
  9.  * For the full copyright and license information, please view the LICENSE
  10.  * file that was distributed with this source code.
  11.  */
  12. namespace Customize\Entity\Master;
  13. use Doctrine\ORM\Mapping as ORM;
  14. /**
  15.  * ContractType
  16.  *
  17.  * @ORM\Table(name="mtb_contract_type")
  18.  * @ORM\InheritanceType("SINGLE_TABLE")
  19.  * @ORM\DiscriminatorColumn(name="discriminator_type", type="string", length=255)
  20.  * @ORM\HasLifecycleCallbacks()
  21.  * @ORM\Entity(repositoryClass="Customize\Repository\Master\ContractTypeRepository")
  22.  * @ORM\Cache(usage="NONSTRICT_READ_WRITE")
  23.  */
  24. class ContractType extends \Eccube\Entity\Master\AbstractMasterEntity
  25. {
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="url_parameter", type="string", length=20)
  30.      */
  31.     protected $url_parameter;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="reg_url_parameter", type="string", length=20)
  36.      */
  37.     protected $reg_url_parameter;
  38.     /**
  39.      * @var string
  40.      *
  41.      * @ORM\Column(name="reg_dc_url_parameter", type="string", length=20)
  42.      */
  43.     protected $reg_dc_url_parameter;
  44.     /**
  45.      * @var string
  46.      *
  47.      * @ORM\Column(name="page_coupon_list", type="string", length=1)
  48.      */
  49.     protected $page_coupon_list;
  50.     /**
  51.      * @var string
  52.      *
  53.      * @ORM\Column(name="page_coupon_analytic", type="string", length=1)
  54.      */
  55.     protected $page_coupon_analytic;
  56.     /**
  57.      * @var string
  58.      *
  59.      * @ORM\Column(name="is_hidden", type="string", length=1)
  60.      */
  61.     protected $is_hidden;
  62.     /**
  63.      * @var string
  64.      *
  65.      * @ORM\Column(name="show_product", type="string", length=1)
  66.      */
  67.     protected $show_product;
  68.     /**
  69.      * @var string
  70.      *
  71.      * @ORM\Column(name="payment_limit", type="string", length=255)
  72.      */
  73.     protected $paymentLimit;
  74.     /**
  75.      * @var string
  76.      *
  77.      * @ORM\Column(name="payment_limit_corporate", type="string", length=255)
  78.      */
  79.     protected $payment_limit_corporate;
  80.     /**
  81.      * @var string
  82.      *
  83.      * @ORM\Column(name="payment_limit_corporate_sp", type="string", length=255)
  84.      */
  85.     protected $payment_limit_corporate_sp;
  86.     /**
  87.      * @var string
  88.      *
  89.      * @ORM\Column(name="payment_limit_sole_proprietor", type="string", length=255)
  90.      */
  91.     protected $payment_limit_sole_proprietor;
  92.     /**
  93.      * @var string
  94.      *
  95.      * @ORM\Column(name="payment_limit_sole_proprietor_sp", type="string", length=255)
  96.      */
  97.     protected $payment_limit_sole_proprietor_sp;
  98.     /**
  99.      * @var string
  100.      *
  101.      * @ORM\Column(name="payment_limit_person", type="string", length=255)
  102.      */
  103.     protected $payment_limit_person;
  104.     /**
  105.      * @var string
  106.      *
  107.      * @ORM\Column(name="payment_limit_person_sp", type="string", length=255)
  108.      */
  109.     protected $payment_limit_person_sp;
  110.     /**
  111.      * @var \Eccube\Entity\ClassCategory
  112.      *
  113.      * @ORM\ManyToOne(targetEntity="Eccube\Entity\ClassCategory")
  114.      * @ORM\JoinColumns({
  115.      *   @ORM\JoinColumn(name="class_category_id", referencedColumnName="id")
  116.      * })
  117.      */
  118.     private $ClassCategory;
  119.     /**
  120.      * Set url parameter.
  121.      *
  122.      * @param string $url_parameter
  123.      *
  124.      * @return ContractType
  125.      */
  126.     public function setUrlParameter($url_parameter)
  127.     {
  128.         $this->url_parameter $url_parameter;
  129.         return $this;
  130.     }
  131.     /**
  132.      * Get url parameter.
  133.      *
  134.      * @return string
  135.      */
  136.     public function getUrlParameter()
  137.     {
  138.         return $this->url_parameter;
  139.     }
  140.     /**
  141.      * Set reg url parameter.
  142.      *
  143.      * @param string $reg_url_parameter
  144.      *
  145.      * @return ContractType
  146.      */
  147.     public function setRegUrlParameter($reg_url_parameter)
  148.     {
  149.         $this->reg_url_parameter $reg_url_parameter;
  150.         return $this;
  151.     }
  152.     /**
  153.      * Get reg url parameter.
  154.      *
  155.      * @return string
  156.      */
  157.     public function getRegUrlParameter()
  158.     {
  159.         return $this->reg_url_parameter;
  160.     }
  161.     /**
  162.      * Set reg dc url parameter.
  163.      *
  164.      * @param string $reg_dc_url_parameter
  165.      *
  166.      * @return ContractType
  167.      */
  168.     public function setRegDcUrlParameter($reg_dc_url_parameter)
  169.     {
  170.         $this->reg_dc_url_parameter $reg_dc_url_parameter;
  171.         return $this;
  172.     }
  173.     /**
  174.      * Get reg dc url parameter.
  175.      *
  176.      * @return string
  177.      */
  178.     public function getRegDcUrlParameter()
  179.     {
  180.         return $this->reg_dc_url_parameter;
  181.     }
  182.     /**
  183.      * Set Page Coupon List.
  184.      *
  185.      * @param string $pageCouponList
  186.      *
  187.      * @return ContractType
  188.      */
  189.     public function setPageCouponList($pageCouponList)
  190.     {
  191.         $this->page_coupon_list $pageCouponList;
  192.         return $this;
  193.     }
  194.     /**
  195.      * Get Page Coupon List.
  196.      *
  197.      * @return string
  198.      */
  199.     public function getPageCouponList()
  200.     {
  201.         return $this->page_coupon_list;
  202.     }
  203.     /**
  204.      * Set Page Coupon Analytic.
  205.      *
  206.      * @param string $pageCouponAnalytic
  207.      *
  208.      * @return ContractType
  209.      */
  210.     public function setPageCouponAnalytic($pageCouponAnalytic)
  211.     {
  212.         $this->page_coupon_analytic $pageCouponAnalytic;
  213.         return $this;
  214.     }
  215.     /**
  216.      * Get Page Coupon Analytic.
  217.      *
  218.      * @return string
  219.      */
  220.     public function getPageCouponAnalytic()
  221.     {
  222.         return $this->page_coupon_analytic;
  223.     }
  224.     /**
  225.      * Set is hidden.
  226.      *
  227.      * @param string $isHidden
  228.      *
  229.      * @return ContractType
  230.      */
  231.     public function setIsHidden($isHidden)
  232.     {
  233.         $this->is_hidden $isHidden;
  234.         return $this;
  235.     }
  236.     /**
  237.      * Get is hidden.
  238.      *
  239.      * @return string
  240.      */
  241.     public function getIsHidden()
  242.     {
  243.         return $this->is_hidden;
  244.     }
  245.     /**
  246.      * Set Show Product.
  247.      *
  248.      * @param string $showProduct
  249.      *
  250.      * @return ContractType
  251.      */
  252.     public function setShowProduct($showProduct)
  253.     {
  254.         $this->show_product $showProduct;
  255.         return $this;
  256.     }
  257.     /**
  258.      * Get Show Product.
  259.      *
  260.      * @return string
  261.      */
  262.     public function getShowProduct()
  263.     {
  264.         return $this->show_product;
  265.     }
  266.     /**
  267.      * Set Payment Limit.
  268.      *
  269.      * @param string $paymentLimit
  270.      *
  271.      * @return ContractType
  272.      */
  273.     public function setPaymentLimit($paymentLimit)
  274.     {
  275.         $this->paymentLimit $paymentLimit;
  276.         return $this;
  277.     }
  278.     /**
  279.      * Get Payment Limit.
  280.      *
  281.      * @return string
  282.      */
  283.     public function getPaymentLimit()
  284.     {
  285.         return $this->paymentLimit;
  286.     }
  287.     /**
  288.      * Set Payment Limit Corporate.
  289.      *
  290.      * @param string $paymentLimitCorporate
  291.      *
  292.      * @return ContractType
  293.      */
  294.     public function setPaymentLimitCorporate($paymentLimitCorporate)
  295.     {
  296.         $this->payment_limit_corporate $paymentLimitCorporate;
  297.         return $this;
  298.     }
  299.     /**
  300.      * Get Payment Limit Corporate.
  301.      *
  302.      * @return string
  303.      */
  304.     public function getPaymentLimitCorporate()
  305.     {
  306.         return $this->payment_limit_corporate;
  307.     }
  308.     /**
  309.      * Set Payment Limit Corporate Sp.
  310.      *
  311.      * @param string $paymentLimitCorporateSp
  312.      *
  313.      * @return ContractType
  314.      */
  315.     public function setPaymentLimitCorporateSp($paymentLimitCorporateSp)
  316.     {
  317.         $this->payment_limit_corporate_sp $paymentLimitCorporateSp;
  318.         return $this;
  319.     }
  320.     /**
  321.      * Get Payment Limit Corporate Sp.
  322.      *
  323.      * @return string
  324.      */
  325.     public function getPaymentLimitCorporateSp()
  326.     {
  327.         return $this->payment_limit_corporate_sp;
  328.     }
  329.     /**
  330.      * Set Payment Limit Sole Proprietor.
  331.      *
  332.      * @param string $paymentLimitSoleProprietor
  333.      *
  334.      * @return ContractType
  335.      */
  336.     public function setPaymentLimitSoleProprietor($paymentLimitSoleProprietor)
  337.     {
  338.         $this->payment_limit_sole_proprietor $paymentLimitSoleProprietor;
  339.         return $this;
  340.     }
  341.     /**
  342.      * Get Payment Limit Sole Proprietor.
  343.      *
  344.      * @return string
  345.      */
  346.     public function getPaymentLimitSoleProprietor()
  347.     {
  348.         return $this->payment_limit_sole_proprietor;
  349.     }
  350.     /**
  351.      * Set Payment Limit Sole Proprietor Sp.
  352.      *
  353.      * @param string $paymentLimitSoleProprietorSp
  354.      *
  355.      * @return ContractType
  356.      */
  357.     public function setPaymentLimitSoleProprietorSp($paymentLimitSoleProprietorSp)
  358.     {
  359.         $this->payment_limit_sole_proprietor_sp $paymentLimitSoleProprietorSp;
  360.         return $this;
  361.     }
  362.     /**
  363.      * Get Payment Limit Sole Proprietor Sp.
  364.      *
  365.      * @return string
  366.      */
  367.     public function getPaymentLimitSoleProprietorSp()
  368.     {
  369.         return $this->payment_limit_sole_proprietor_sp;
  370.     }
  371.     /**
  372.      * Set Payment Limit Person.
  373.      *
  374.      * @param string $paymentLimitPerson
  375.      *
  376.      * @return ContractType
  377.      */
  378.     public function setPaymentLimitPerson($paymentLimitPerson)
  379.     {
  380.         $this->payment_limit_person $paymentLimitPerson;
  381.         return $this;
  382.     }
  383.     /**
  384.      * Get Payment Limit Person.
  385.      *
  386.      * @return string
  387.      */
  388.     public function getPaymentLimitPerson()
  389.     {
  390.         return $this->payment_limit_person;
  391.     }
  392.     /**
  393.      * Set Payment Limit Person Sp.
  394.      *
  395.      * @param string $paymentLimitPersonSp
  396.      *
  397.      * @return ContractType
  398.      */
  399.     public function setPaymentLimitPersonSp($paymentLimitPersonSp)
  400.     {
  401.         $this->payment_limit_person_sp $paymentLimitPersonSp;
  402.         return $this;
  403.     }
  404.     /**
  405.      * Get Payment Limit Person Sp.
  406.      *
  407.      * @return string
  408.      */
  409.     public function getPaymentLimitPersonSp()
  410.     {
  411.         return $this->payment_limit_person_sp;
  412.     }
  413.     /**
  414.      * Set Class Category.
  415.      *
  416.      * @param ClassCategory $ClassCategory
  417.      *
  418.      * @return ContractType
  419.      */
  420.     public function setClassCategory($ClassCategory)
  421.     {
  422.         $this->ClassCategory $ClassCategory;
  423.         return $this;
  424.     }
  425.     /**
  426.      * Get Class Category.
  427.      *
  428.      * @return ClassCategory
  429.      */
  430.     public function getClassCategory()
  431.     {
  432.         return $this->ClassCategory;
  433.     }
  434. }