src/Eccube/Entity/Master/TaxDisplayType.php line 31

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 Eccube\Entity\Master;
  13. use Doctrine\ORM\Mapping as ORM;
  14. if (!class_exists(TaxDisplayType::class, false)) {
  15.     /**
  16.      * TaxDisplayType
  17.      *
  18.      * 税抜表示 / 税込表示
  19.      *
  20.      * @ORM\Table(name="mtb_tax_display_type")
  21.      * @ORM\InheritanceType("SINGLE_TABLE")
  22.      * @ORM\DiscriminatorColumn(name="discriminator_type", type="string", length=255)
  23.      * @ORM\HasLifecycleCallbacks()
  24.      * @ORM\Entity(repositoryClass="Eccube\Repository\Master\TaxDisplayTypeRepository")
  25.      * @ORM\Cache(usage="NONSTRICT_READ_WRITE")
  26.      */
  27.     class TaxDisplayType extends \Eccube\Entity\Master\AbstractMasterEntity
  28.     {
  29.         /**
  30.          * 税抜.
  31.          *
  32.          * @var integer
  33.          */
  34.         public const EXCLUDED 1;
  35.         /**
  36.          * 税込.
  37.          *
  38.          * @var integer
  39.          */
  40.         public const INCLUDED 2;
  41.     }
  42. }