src/Entity/System/SubscriptionCustomerType.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_type")
  6. *
  7. * @ORM\Entity(repositoryClass="App\Repository\System\SubscriptionCustomerTypeRepository")
  8. */
  9. class SubscriptionCustomerType
  10. {
  11. public const RECRUIMENT = 1;
  12. public const MIGRATION = 2;
  13. public const GIFT = 3;
  14. public const COPY = 4;
  15. /**
  16. * @var int
  17. *
  18. * @ORM\Id
  19. *
  20. * @ORM\GeneratedValue(strategy="AUTO")
  21. *
  22. * @ORM\Column(type="integer", name="id")
  23. */
  24. private $id;
  25. /**
  26. * @var string
  27. *
  28. * @ORM\Column(type="string")
  29. */
  30. private $type;
  31. /**
  32. * @return int
  33. */
  34. public function getId(): int
  35. {
  36. return $this->id;
  37. }
  38. /**
  39. * @return string
  40. */
  41. public function getType(): string
  42. {
  43. return $this->type;
  44. }
  45. }