src/Eccube/Entity/Master/CustomerStatus.php line 29

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(CustomerStatus::class, false)) {
  15. /**
  16. * CustomerStatus
  17. *
  18. * @ORM\Table(name="mtb_customer_status")
  19. * @ORM\InheritanceType("SINGLE_TABLE")
  20. * @ORM\DiscriminatorColumn(name="discriminator_type", type="string", length=255)
  21. * @ORM\HasLifecycleCallbacks()
  22. * @ORM\Entity(repositoryClass="Eccube\Repository\Master\CustomerStatusRepository")
  23. * @ORM\Cache(usage="NONSTRICT_READ_WRITE")
  24. */
  25. class CustomerStatus extends \Eccube\Entity\Master\AbstractMasterEntity
  26. {
  27. /**
  28. * 仮会員.
  29. *
  30. * @deprecated
  31. */
  32. public const NONACTIVE = 1;
  33. /**
  34. * 本会員.
  35. *
  36. * @deprecated
  37. */
  38. public const ACTIVE = 2;
  39. /**
  40. * 仮会員.
  41. */
  42. public const PROVISIONAL = 1;
  43. /**
  44. * 本会員
  45. */
  46. public const REGULAR = 2;
  47. /**
  48. * 退会
  49. */
  50. public const WITHDRAWING = 3;
  51. }
  52. }