WordPress

Briefly unavailable for scheduled maintenance.
Check back in a some hours.
403WebShell
403Webshell
Server IP : 38.242.244.58  /  Your IP : 216.73.217.174
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1486879.contaboserver.net 5.4.0-166-generic #183-Ubuntu SMP Mon Oct 2 11:28:33 UTC 2023 x86_64
User : root ( 0)
PHP Version : 7.4.3-4ubuntu2.19
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/sura/src/Entity/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/sura/src/Entity/CartItem.php
<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity(repositoryClass="App\Repository\CartItemRepository")
 */
class CartItem
{
    /**
     * @ORM\Id()
     * @ORM\GeneratedValue()
     * @ORM\Column(type="integer")
     */
    private $id;

    /**
     * @ORM\ManyToOne(targetEntity="App\Entity\Stock", inversedBy="cartItems")
     * @ORM\JoinColumn(nullable=false)
     */
    private $Stock;

    /**
     * @ORM\Column(type="float")
     */
    private $Amount;

    /**
     * @ORM\Column(type="datetime")
     */
    private $CreateTime;

    /**
     * @ORM\ManyToOne(targetEntity="App\Entity\User")
     * @ORM\JoinColumn(nullable=false)
     */
    private $CreateBy;

    /**
     * @ORM\ManyToOne(targetEntity="App\Entity\Cart", inversedBy="cartItems")
     * @ORM\JoinColumn(nullable=false)
     */
    private $Cart;

    /**
     * @ORM\Column(type="string", length=255)
     */
    private $Size;

    /**
     * @ORM\Column(type="boolean")
     */
    private $IsExclusive;

    /**
     * @ORM\Column(type="string", length=255)
     */
    private $Name;

    /**
     * @ORM\Column(type="string", length=255)
     */
    private $ThumbNailUrl;

    /**
     * @ORM\Column(type="string", length=255)
     */
    private $ExclusiveLicence;

    /**
     * @ORM\Column(type="integer", nullable=true)
     */
    private $ExclusiveLicenceDuration;

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getStock(): ?Stock
    {
        return $this->Stock;
    }

    public function setStock(?Stock $Stock): self
    {
        $this->Stock = $Stock;

        return $this;
    }

    public function getAmount(): ?float
    {
        return $this->Amount;
    }

    public function setAmount(float $Amount): self
    {
        $this->Amount = $Amount;

        return $this;
    }

    public function getCreateTime(): ?\DateTimeInterface
    {
        return $this->CreateTime;
    }

    public function setCreateTime(\DateTimeInterface $CreateTime): self
    {
        $this->CreateTime = $CreateTime;

        return $this;
    }

    public function getCreateBy(): ?User
    {
        return $this->CreateBy;
    }

    public function setCreateBy(?User $CreateBy): self
    {
        $this->CreateBy = $CreateBy;

        return $this;
    }

    public function getCart(): ?Cart
    {
        return $this->Cart;
    }

    public function setCart(?Cart $Cart): self
    {
        $this->Cart = $Cart;

        return $this;
    }
    public function __toString()
    {
        return (string)$this->getId();
    }

    public function getSize(): ?string
    {
        return $this->Size;
    }

    public function setSize(string $Size): self
    {
        $this->Size = $Size;

        return $this;
    }

    public function getIsExclusive(): ?bool
    {
        return $this->IsExclusive;
    }

    public function setIsExclusive(bool $IsExclusive): self
    {
        $this->IsExclusive = $IsExclusive;

        return $this;
    }

    public function getName(): ?string
    {
        return $this->Name;
    }

    public function setName(string $Name): self
    {
        $this->Name = $Name;

        return $this;
    }

    public function getThumbNailUrl(): ?string
    {
        return $this->ThumbNailUrl;
    }

    public function setThumbNailUrl(string $ThumbNailUrl): self
    {
        $this->ThumbNailUrl = $ThumbNailUrl;

        return $this;
    }

    public function getExclusiveLicence(): ?string
    {
        return $this->ExclusiveLicence;
    }

    public function setExclusiveLicence(string $ExclusiveLicence): self
    {
        $this->ExclusiveLicence = $ExclusiveLicence;

        return $this;
    }

    public function getExclusiveLicenceDuration(): ?int
    {
        return $this->ExclusiveLicenceDuration;
    }

    public function setExclusiveLicenceDuration(?int $ExclusiveLicenceDuration): self
    {
        $this->ExclusiveLicenceDuration = $ExclusiveLicenceDuration;

        return $this;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit