src/Entity/System/SubscriptionCustomerHistoryType.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\System;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\Table(name="subscription_customer_history_type")
  6. *
  7. * @ORM\Entity(repositoryClass="App\Repository\System\SubscriptionCustomerHistoryTypeRepository")
  8. */
  9. class SubscriptionCustomerHistoryType
  10. {
  11. public const RECRUIMENT = 1;
  12. public const RENOVATION = 2;
  13. public const CANCELLATION = 3;
  14. public const MIGRATION = 4;
  15. public const INIT_AMOUNT = 5;
  16. public const CANCELLATION_REQUEST = 6;
  17. /**
  18. * @var int
  19. *
  20. * @ORM\Id
  21. *
  22. * @ORM\GeneratedValue(strategy="AUTO")
  23. *
  24. * @ORM\Column(type="integer", name="id")
  25. */
  26. private $id;
  27. /**
  28. * @var string
  29. *
  30. * @ORM\Column(type="string")
  31. */
  32. private $type;
  33. /**
  34. * @return int
  35. */
  36. public function getId(): int
  37. {
  38. return $this->id;
  39. }
  40. /**
  41. * @return string
  42. */
  43. public function getType(): string
  44. {
  45. return $this->type;
  46. }
  47. }