src/Entity/HostingPackages.php line 10
<?php
namespace App\Entity;
use App\Repository\HostingPackagesRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: HostingPackagesRepository::class)]
class HostingPackages
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $name = null;
#[ORM\ManyToOne]
#[ORM\JoinColumn(nullable: false)]
private ?ProductTypes $type = null;
#[ORM\Column]
private ?int $period = null;
#[ORM\Column(type: Types::DECIMAL, precision: 10, scale: 2)]
private ?string $registerPrice = null;
#[ORM\Column(type: Types::DECIMAL, precision: 10, scale: 2)]
private ?string $renewPrice = null;
#[ORM\Column]
private ?bool $isFreeTrial = null;
#[ORM\Column]
private ?bool $isRenewable = null;
#[ORM\Column]
private ?bool $expires = null;
#[ORM\Column]
private ?\DateTimeImmutable $createdAt = null;
#[ORM\Column]
private ?\DateTimeImmutable $updatedAt = null;
#[ORM\Column]
private ?bool $isActive = null;
#[ORM\Column(length: 255)]
private ?string $dreamscapeName = null;
#[ORM\Column]
private ?int $dreamscapeId = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $shortDescription = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $features = null;
#[ORM\Column]
private ?bool $popular = null;
#[ORM\Column]
private ?int $position = null;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getType(): ?ProductTypes
{
return $this->type;
}
public function setType(?ProductTypes $type): self
{
$this->type = $type;
return $this;
}
public function getPeriod(): ?int
{
return $this->period;
}
public function setPeriod(int $period): self
{
$this->period = $period;
return $this;
}
public function getRegisterPrice(): ?string
{
return $this->registerPrice;
}
public function setRegisterPrice(string $registerPrice): self
{
$this->registerPrice = $registerPrice;
return $this;
}
public function getRenewPrice(): ?string
{
return $this->renewPrice;
}
public function setRenewPrice(string $renewPrice): self
{
$this->renewPrice = $renewPrice;
return $this;
}
public function getIsFreeTrial(): ?bool
{
return $this->isFreeTrial;
}
public function setIsFreeTrial(bool $isFreeTrial): self
{
$this->isFreeTrial = $isFreeTrial;
return $this;
}
public function getIsRenewable(): ?bool
{
return $this->isRenewable;
}
public function setIsRenewable(bool $isRenewable): self
{
$this->isRenewable = $isRenewable;
return $this;
}
public function getExpires(): ?bool
{
return $this->expires;
}
public function setExpires(bool $expires): self
{
$this->expires = $expires;
return $this;
}
public function getCreatedAt(): ?\DateTimeImmutable
{
return $this->createdAt;
}
public function setCreatedAt(\DateTimeImmutable $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
public function getUpdatedAt(): ?\DateTimeImmutable
{
return $this->updatedAt;
}
public function setUpdatedAt(\DateTimeImmutable $updatedAt): self
{
$this->updatedAt = $updatedAt;
return $this;
}
public function getIsActive(): ?bool
{
return $this->isActive;
}
public function setIsActive(bool $isActive): self
{
$this->isActive = $isActive;
return $this;
}
public function getDreamscapeName(): ?string
{
return $this->dreamscapeName;
}
public function setDreamscapeName(string $dreamscapeName): self
{
$this->dreamscapeName = $dreamscapeName;
return $this;
}
public function getDreamscapeId(): ?int
{
return $this->dreamscapeId;
}
public function setDreamscapeId(int $dreamscapeId): self
{
$this->dreamscapeId = $dreamscapeId;
return $this;
}
public function getShortDescription(): ?string
{
return $this->shortDescription;
}
public function setShortDescription(?string $shortDescription): self
{
$this->shortDescription = $shortDescription;
return $this;
}
public function getFeatures(): ?string
{
return $this->features;
}
public function setFeatures(?string $features): self
{
$this->features = $features;
return $this;
}
public function getPopular(): ?bool
{
return $this->popular;
}
public function setPopular(bool $popular): self
{
$this->popular = $popular;
return $this;
}
public function getPosition(): ?int
{
return $this->position;
}
public function setPosition(int $position): self
{
$this->position = $position;
return $this;
}
}