<?php
namespace App\Entity\System;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name="subscription_type")
*
* @ORM\Entity(repositoryClass="App\Repository\System\SubscriptionTypeRepository")
*/
class SubscriptionType
{
public const TYPE_SUBSCRIPTIONS = 1;
public const TYPE_COURSES = 2;
public const TYPE_ACADEMY_REGISTRATION = 3;
/**
* @var int
*
* @ORM\Id
*
* @ORM\GeneratedValue(strategy="AUTO")
*
* @ORM\Column(type="integer", name="id")
*/
private $id;
/**
* @var string
*
* @ORM\Column(type="string")
*/
private $type;
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
/**
* @return string
*/
public function getType(): string
{
return $this->type;
}
}