ヤミRoot VoidGate
User / IP
:
216.73.216.143
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
/
itrave
/
api
/
src
/
AppBundle
/
Entity
/
Viewing: Cab.php
<?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; use JMS\Serializer\Annotation as Serializer; use Symfony\Component\Validator\Constraints as Assert; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; use Doctrine\Common\Collections\ArrayCollection; /** * Cab * * @ORM\Table(name="cab") * @ORM\Entity(repositoryClass="AppBundle\Repository\CabRepository") * @UniqueEntity("registration") * */ class Cab { /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") * @Serializer\Groups({"LIST", "CAB_DETAILS", "CAB_BOOKING_DETAILS", "CAB_RIDE_PAYMENT_DETAILS"}) */ private $cabId; /** * @var string * * @ORM\Column(name="modelName", type="string", length=255) * @Serializer\Groups({"LIST", "CAB_DETAILS", "CAB_BOOKING_DETAILS", "CAB_RIDE_PAYMENT_DETAILS"}) * @Assert\NotBlank */ private $modelName; /** * @var string * * @ORM\Column(name="registration", type="string", length=255) * @Serializer\Groups({"LIST", "CAB_DETAILS", "CAB_BOOKING_DETAILS", "CAB_RIDE_PAYMENT_DETAILS"}) * @Assert\NotBlank */ private $registration; /** * @var array * * @ORM\Column(name="vehicle_options", type="array", nullable=true) * @Serializer\Groups({"CAB_DETAILS"}) */ private $vehicleOptions; /** * @var bool * * @ORM\Column(name="isActive", type="boolean") * @Serializer\Groups({"LIST","CAB_DETAILS"}) */ private $isActive; /** * @var int * * @ORM\Column(name="costPerHour", type="integer") * @Serializer\Groups({"CAB_DETAILS"}) * @Assert\NotBlank */ private $costPerHour; /** * @var int * * @ORM\Column(name="costPerDay", type="integer", nullable=true) * @Serializer\Groups({"CAB_DETAILS"}) */ private $costPerDay; /** * @var \AppBundle\Entity\Company * * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Company") * @Serializer\Groups({"LIST","CAB_DETAILS"}) * @Serializer\MaxDepth(1) */ private $company; /** * @var \DateTime * * @ORM\Column(name="createdAt", type="datetime") * @Serializer\Groups({"CAB_DETAILS"}) */ private $createdAt; /** * @var bool * * @ORM\Column(name="isDeleted", type="boolean") * @Serializer\Groups({"LIST","CAB_DETAILS"}) */ private $isDeleted; /** * @ORM\OneToMany(targetEntity="AppBundle\Entity\Image\CabImage", mappedBy="cab") * @Serializer\MaxDepth(1) */ private $cabImages; public function __construct($company = null, $modelName = null, $registration = null, $vehicleOptions = array(), $isActive = true, $costPerHour = null, $costPerDay = null) { $this->company = $company; $this->modelName = $modelName; $this->registration = $registration; $this->vehicleOptions = $vehicleOptions; $this->isActive = $isActive; $this->costPerHour = $costPerHour; $this->costPerDay = $costPerDay; $this->createdAt = new \DateTime(); $this->isDeleted = false; $this->cabImages = new ArrayCollection(); } /** * Get cabId * * @return integer */ public function getCabId() { return $this->cabId; } /** * Set modelName * * @param string $modelName * * @return Cab */ public function setModelName($modelName) { $this->modelName = $modelName; return $this; } /** * Get modelName * * @return string */ public function getModelName() { return $this->modelName; } /** * Set vehicleOptions * * @param array $vehicleOptions * * @return Cab */ public function setVehicleOptions($vehicleOptions) { $this->vehicleOptions = $vehicleOptions; return $this; } /** * Get vehicleOptions * * @return array */ public function getVehicleOptions() { return $this->vehicleOptions; } /** * Set isActive * * @param boolean $isActive * * @return Cab */ public function setIsActive($isActive) { $this->isActive = $isActive; return $this; } /** * Get isActive * * @return boolean */ public function getIsActive() { return $this->isActive; } /** * Set costPerHour * * @param integer $costPerHour * * @return Cab */ public function setCostPerHour($costPerHour) { $this->costPerHour = $costPerHour; return $this; } /** * Get costPerHour * * @return integer */ public function getCostPerHour() { return $this->costPerHour; } /** * Set costPerDay * * @param integer $costPerDay * * @return Cab */ public function setCostPerDay($costPerDay) { $this->costPerDay = $costPerDay; return $this; } /** * Get costPerDay * * @return integer */ public function getCostPerDay() { return $this->costPerDay; } /** * Set createdAt * * @param \DateTime $createdAt * * @return Cab */ public function setCreatedAt($createdAt) { $this->createdAt = $createdAt; return $this; } /** * Get createdAt * * @return \DateTime */ public function getCreatedAt() { return $this->createdAt; } /** * Set company * * @param \AppBundle\Entity\Company $company * * @return Cab */ public function setCompany(\AppBundle\Entity\Company $company = null) { $this->company = $company; return $this; } /** * Get company * * @return \AppBundle\Entity\Company */ public function getCompany() { return $this->company; } /** * Set registration * * @param string $registration * * @return Cab */ public function setRegistration($registration) { $this->registration = $registration; return $this; } /** * Get registration * * @return string */ public function getRegistration() { return $this->registration; } /** * Set isDeleted * * @param boolean $isDeleted * * @return Cab */ public function setIsDeleted($isDeleted) { $this->isDeleted = $isDeleted; return $this; } /** * Get isDeleted * * @return boolean */ public function getIsDeleted() { return $this->isDeleted; } /** * Add cabImage * * @param \AppBundle\Entity\Image\CabImage $cabImage * * @return Cab */ public function addCabImage(\AppBundle\Entity\Image\CabImage $cabImage) { $this->cabImages[] = $cabImage; return $this; } /** * Remove cabImage * * @param \AppBundle\Entity\Image\CabImage $cabImage */ public function removeCabImage(\AppBundle\Entity\Image\CabImage $cabImage) { $this->cabImages->removeElement($cabImage); } /** * Get cabImages * * @return \Doctrine\Common\Collections\Collection */ public function getCabImages() { return $this->cabImages; } }
Coded With 💗 by
0x6ick