<?phpnamespace App\Entity\Gos;use App\Entity\Gos\VirtualCurrency\VirtualCurrencyOrder;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass="App\Repository\Gos\WatermarkingOrderFileRepository") */class WatermarkingOrderFile{ /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity="App\Entity\Gos\Orders") * @ORM\JoinColumn() */ private $order; /** * @ORM\ManyToOne(targetEntity="App\Entity\Gos\VirtualCurrency\VirtualCurrencyOrder") * @ORM\JoinColumn() */ private $virtualCurrencyOrder; /** * @ORM\ManyToOne(targetEntity="App\Entity\Gos\File") * @ORM\JoinColumn() */ private $file; /** * @ORM\ManyToOne(targetEntity="App\Entity\Gos\User") * @ORM\JoinColumn() */ private $user; /** * @ORM\Column(type="datetime" ) */ private $creation_date; /** * @ORM\Column(type="datetime", nullable=true) */ private $edit_date; /** * @ORM\Column(type="datetime", nullable=true) */ private $delete_date; /** * @ORM\Column(type="boolean") */ private $isDeleted; /** * @ORM\Column(type="boolean") */ private $isGenerated; /** * @ORM\Column(type="integer" , nullable=true) */ private $responseCode; /** * @ORM\Column(type="text", nullable=true) */ private $responseContent; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $baseUrl; /** * @ORM\Column(type="boolean") */ private $isReadyToServe; /** * @ORM\Column(type="boolean") */ private $isForce; public function __construct() { $this->creation_date = new \DateTime(); $this->isDeleted = false; $this->isGenerated = false; $this->isReadyToServe = false; } /** @ORM\PreUpdate() */ public function preUpdate(): void { $this->edit_date = new \DateTime(); } public function getId(): ?int { return $this->id; } public function getOrder(): ?Orders { return $this->order; } public function setOrders(Orders $order): self { $this->order = $order; return $this; } public function getVirtualCurrencyOrder(): ?VirtualCurrencyOrder { return $this->virtualCurrencyOrder; } public function setVirtualCurrencyOrder(VirtualCurrencyOrder $virtualCurrencyOrder): self { $this->virtualCurrencyOrder = $virtualCurrencyOrder; return $this; } public function getFile(): ?File { return $this->file; } public function setFile(File $file): self { $this->file = $file; return $this; } public function getUser(): ?User { return $this->user; } public function setUser(User $user): self { $this->user = $user; return $this; } public function getIsDeleted(): ?bool { return $this->isDeleted; } public function setIsDeleted(bool $isDeleted): self { $this->isDeleted = $isDeleted; return $this; } public function getCreationDate(): ?\DateTimeInterface { return $this->creation_date; } public function setCreationDate(\DateTimeInterface $creation_date): self { $this->creation_date = $creation_date; return $this; } public function getEditDate(): ?\DateTimeInterface { return $this->edit_date; } public function setEditDate(?\DateTimeInterface $edit_date): self { $this->edit_date = $edit_date; return $this; } public function getDeleteDate(): ?\DateTimeInterface { return $this->delete_date; } public function setDeleteDate(?\DateTimeInterface $delete_date): self { $this->delete_date = $delete_date; return $this; } public function getIsGenerated(): ?bool { return $this->isGenerated; } public function setIsGenerated(bool $isGenerated): self { $this->isGenerated = $isGenerated; return $this; } public function getResponseCode(): ?int { return $this->responseCode; } public function setResponseCode(int $responseCode): self { $this->responseCode = $responseCode; return $this; } public function getResponseContent(): ?string { return $this->responseContent; } public function setResponseContent(string $responseContent): self { $this->responseContent = $responseContent; return $this; } public function getBaseUrl(): ?string { return $this->baseUrl; } public function setBaseUrl(string $baseUrl): self { $this->baseUrl = $baseUrl; return $this; } public function getIsReadyToServe(): ?bool { return $this->isReadyToServe; } public function setIsReadyToServe(bool $isReadyToServe): self { $this->isReadyToServe = $isReadyToServe; return $this; } public function getIsForce(): ?bool { return $this->isForce; } public function setIsForce(bool $isForce): self { $this->isForce = $isForce; return $this; }}