<?php
namespace App\Entity\System;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name="subscription_status")
*
* @ORM\Entity(repositoryClass="App\Repository\System\SubscriptionStatusRepository")
*/
class SubscriptionStatus
{
public const STATUS_ACTIVE = 1;
public const STATUS_CANCELED = 2;
public const STATUS_FINISHED = 3;
public const STATUS_PENDING_PAYMENT = 4;
public const STATUS_TRANSFERRED = 5;
/**
* @var int
*
* @ORM\Id
*
* @ORM\GeneratedValue(strategy="AUTO")
*
* @ORM\Column(type="integer", name="id")
*/
private $id;
/**
* @var string
*
* @ORM\Column(type="string", length=15)
*/
private $status;
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
/**
* @return string
*/
public function getStatus(): string
{
return $this->status;
}
}