ヤミRoot VoidGate
User / IP
:
216.73.216.81
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
logercm
/
dev.loger.cm
/
src
/
Entity
/
Viewing: Subscription.php
<?php namespace App\Entity; use ApiPlatform\Core\Annotation\ApiResource; use App\Repository\SubscriptionRepository; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; /** * @ApiResource() * @ORM\Entity(repositoryClass=SubscriptionRepository::class) */ class Subscription { /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=Company::class, inversedBy="subscriptions") * @ORM\JoinColumn(nullable=false) */ private $partner; /** * @ORM\Column(type="datetime", nullable=true) */ private $expireAt; /** * @ORM\Column(type="boolean", nullable=true) */ private $expire; /** * @ORM\ManyToOne(targetEntity=Package::class) * @ORM\JoinColumn(nullable=false) */ private $package; /** * @ORM\Column(type="datetime",nullable=true) */ private $createdAt; /** * @ORM\ManyToOne(targetEntity=User::class, inversedBy="subscriptions") * @ORM\JoinColumn(nullable=true) */ private $createdBy; public function getId(): ?int { return $this->id; } public function getPartner(): ?Company { return $this->partner; } public function setPartner(?Company $partner): self { $this->partner = $partner; return $this; } public function getExpireAt(): ?\DateTimeInterface { return $this->expireAt; } public function setExpireAt(?\DateTimeInterface $expireAt): self { $this->expireAt = $expireAt; return $this; } public function getExpire(): ?bool { return $this->expire; } public function setExpire(?bool $expire): self { $this->expire = $expire; return $this; } public function getPackage(): ?Package { return $this->package; } public function setPackage(?Package $package): self { $this->package = $package; return $this; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(\DateTimeInterface $createdAt): self { $this->createdAt = $createdAt; return $this; } public function getCreatedBy(): ?User { return $this->createdBy; } public function setCreatedBy(?User $createdBy): self { $this->createdBy = $createdBy; return $this; } public function __toString() { // TODO: Implement __toString() method. return $this->getPackage()->getPackageName()." Company: ".$this->getPartner()->getCompanyName(); } public function __construct() { $this->createdAt = new \DateTime(); } }
Coded With 💗 by
0x6ick