app/Plugin/CouponPro42/Entity/Master/CouponKind.php line 27

Open in your IDE?
  1. <?php
  2. /*
  3. * This file is part of the CouponPro42 Plugin
  4. *
  5. * Copyright (C) 2022 Diezon.
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Plugin\CouponPro42\Entity\Master;
  11. use Eccube\Entity\Master\AbstractMasterEntity;
  12. use Doctrine\ORM\Mapping as ORM;
  13. /**
  14. * CouponKind
  15. *
  16. * @ORM\Table(name="mtb_coupon_kind")
  17. * @ORM\InheritanceType("SINGLE_TABLE")
  18. * @ORM\DiscriminatorColumn(name="discriminator_type", type="string", length=255)
  19. * @ORM\HasLifecycleCallbacks()
  20. * @ORM\Entity(repositoryClass="Plugin\CouponPro42\Repository\Master\CouponKindRepository")
  21. * @ORM\Cache(usage="NONSTRICT_READ_WRITE")
  22. */
  23. class CouponKind extends AbstractMasterEntity
  24. {
  25. /**
  26. * 値引.
  27. */
  28. const DISCOUNT_PRICE = 1;
  29. /**
  30. * 割引
  31. */
  32. const DISCOUNT_RATE = 2;
  33. /**
  34. * 送料無料
  35. */
  36. const FREE_DELIVERY_FEE = 3;
  37. }