<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Plan
*
* @ORM\Table(name="plans")
* @ORM\Entity
*/
class Plan
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string|null
*
* @ORM\Column(name="name", type="string", length=255, nullable=true)
*/
private $name;
/**
* @var string|null
*
* @ORM\Column(name="description", type="text", length=65535, nullable=true)
*/
private $description;
/**
* @var float|null
*
* @ORM\Column(name="price", type="float", precision=10, scale=0, nullable=true)
*/
private $price;
/**
* @var bool|null
*
* @ORM\Column(name="ssl", type="boolean", nullable=true)
*/
private $ssl;
/**
* @var int|null
*
* @ORM\Column(name="calls", type="integer", nullable=true)
*/
private $calls;
/**
* @var int|null
*
* @ORM\Column(name="servers", type="integer", nullable=true)
*/
private $servers;
/**
* @var int|null
*
* @ORM\Column(name="services", type="integer", nullable=true)
*/
private $services;
/**
* @var int|null
*
* @ORM\Column(name="throttle", type="integer", nullable=true)
*/
private $throttle;
/**
* @var \DateTime|null
*
* @ORM\Column(name="created", type="datetime", nullable=true)
*/
private $created;
/**
* @var \DateTime|null
*
* @ORM\Column(name="modified", type="datetime", nullable=true)
*/
private $modified;
/**
* @var int|null
*
* @ORM\Column(name="ranking", type="integer", nullable=true)
*/
private $ranking;
/**
* @var bool|null
*
* @ORM\Column(name="IsPremium", type="boolean", nullable=true)
*/
private $ispremium;
/**
* @var bool|null
*
* @ORM\Column(name="show", type="boolean", nullable=true)
*/
private $show;
/**
* @var int
*
* @ORM\Column(name="version", type="integer", nullable=true)
*/
private $version;
/**
* @var bool|null
*
* @ORM\Column(name="IsFreeTrial", type="boolean", nullable=true)
*/
private $isFreeTrial;
/**
* @var string
*
* @ORM\Column(name="paypal_id", type="string", length=255, nullable=true)
*/
private $paypalId;
/**
* @var bool|null
*
* @ORM\Column(name="IsFeatured", type="boolean", nullable=true)
*/
private $isFeatured;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function getDescription(): ?string
{
return $this->description;
}
public function getPrice(): ?float
{
return $this->price;
}
public function getCalls(): ?int
{
return $this->calls;
}
public function getShow(): ?bool
{
return $this->show;
}
/**
* @return bool|null
*/
public function getIsFreeTrial(): ?bool
{
return $this->isFreeTrial;
}
/**
* @return string
*/
public function getPaypalId(): string
{
return $this->paypalId;
}
/**
* @return bool|null
*/
public function getIsFeatured(): ?bool
{
return $this->isFeatured;
}
/**
* @return int|null
*/
public function getServices(): ?int
{
return $this->services;
}
public function __toString()
{
return $this->name;
}
}