<?php
namespace App\Entity;
use App\Repository\ReportRepository;
use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ReportRepository::class)
* @Auditable()
*/
class Report
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=Sites::class, inversedBy="reports")
* @ORM\JoinColumn(nullable=false)
*/
private $site;
/**
* @ORM\ManyToOne(targetEntity=Users::class, inversedBy="reports")
* @ORM\JoinColumn(nullable=false)
*/
private $user;
/**
* @ORM\Column(type="integer")
*/
private $requestAmount;
/**
* @ORM\Column(type="integer")
*/
private $totalDocumentPrinted;
/**
* @ORM\Column(type="decimal", precision=16, scale=2, nullable=true)
*/
private $collectedAmountCDF;
/**
* @ORM\ManyToOne(targetEntity=Currency::class)
* @ORM\JoinColumn(nullable=true)
*/
private $currency;
/**
* @ORM\Column(type="integer")
*/
private $pendingRequestAmount;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $damagedPaper;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $soldStickerAmount;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $damagedStickers;
/**
* @ORM\Column(type="decimal", precision=16, scale=2, nullable=true)
*/
private $stickerCollectedAmountCDF;
/**
* @ORM\Column(type="decimal", precision=16, scale=2, nullable=true)
*/
private $stickerCollectedAmountUSD;
/**
* @ORM\Column(type="decimal", precision=16, scale=2, nullable=true)
*/
private $collectedAmountUSD;
/**
* @ORM\Column(type="datetime")
*/
private $dateCreate;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $status;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isDeleted;
/**
* @ORM\Column(type="integer")
*/
private $actualStoredPaperAmount;
/**
* @ORM\Column(type="integer")
*/
private $actualStoredStickerAmount;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $comment;
/**
* @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
*/
private $unitPrice;
/**
* @ORM\ManyToOne(targetEntity=Currency::class)
*/
private $unitPriceCurrency;
/**
* @ORM\Column(type="date")
*/
private $reportDate;
/**
* @ORM\ManyToOne(targetEntity=Users::class)
*/
private $userUpdate;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $dateUpdate;
/**
* @ORM\Column(type="integer")
*/
private $totalA4LandscapeRemain;
/**
* @ORM\Column(type="integer")
*/
private $totalA5LandscapeRemain;
public function getId(): ?int
{
return $this->id;
}
public function getSite(): ?Sites
{
return $this->site;
}
public function setSite(?Sites $site): self
{
$this->site = $site;
return $this;
}
public function getUser(): ?Users
{
return $this->user;
}
public function setUser(?Users $user): self
{
$this->user = $user;
return $this;
}
public function getRequestAmount(): ?int
{
return $this->requestAmount;
}
public function setRequestAmount(int $requestAmount): self
{
$this->requestAmount = $requestAmount;
return $this;
}
public function getTotalDocumentPrinted(): ?int
{
return $this->totalDocumentPrinted;
}
public function setTotalDocumentPrinted(int $totalDocumentPrinted): self
{
$this->totalDocumentPrinted = $totalDocumentPrinted;
return $this;
}
public function getCollectedAmountCDF(): ?string
{
return $this->collectedAmountCDF;
}
public function setCollectedAmountCDF(?string $collectedAmountCDF): self
{
$this->collectedAmountCDF = $collectedAmountCDF;
return $this;
}
public function getCurrency(): ?Currency
{
return $this->currency;
}
public function setCurrency(?Currency $currency): self
{
$this->currency = $currency;
return $this;
}
public function getPendingRequestAmount(): ?int
{
return $this->pendingRequestAmount;
}
public function setPendingRequestAmount(int $pendingRequestAmount): self
{
$this->pendingRequestAmount = $pendingRequestAmount;
return $this;
}
public function getDamagedPaper(): ?int
{
return $this->damagedPaper;
}
public function setDamagedPaper(?int $damagedPaper): self
{
$this->damagedPaper = $damagedPaper;
return $this;
}
public function getSoldStickerAmount(): ?int
{
return $this->soldStickerAmount;
}
public function setSoldStickerAmount(?int $soldStickerAmount): self
{
$this->soldStickerAmount = $soldStickerAmount;
return $this;
}
public function getDamagedStickers(): ?int
{
return $this->damagedStickers;
}
public function setDamagedStickers(?int $damagedStickers): self
{
$this->damagedStickers = $damagedStickers;
return $this;
}
public function getStickerCollectedAmountCDF(): ?string
{
return $this->stickerCollectedAmountCDF;
}
public function setStickerCollectedAmountCDF(?string $stickerCollectedAmountCDF): self
{
$this->stickerCollectedAmountCDF = $stickerCollectedAmountCDF;
return $this;
}
public function getStickerCollectedAmountUSD(): ?string
{
return $this->stickerCollectedAmountUSD;
}
public function setStickerCollectedAmountUSD(?string $stickerCollectedAmountUSD): self
{
$this->stickerCollectedAmountUSD = $stickerCollectedAmountUSD;
return $this;
}
public function getCollectedAmountUSD(): ?string
{
return $this->collectedAmountUSD;
}
public function setCollectedAmountUSD(?string $collectedAmountUSD): self
{
$this->collectedAmountUSD = $collectedAmountUSD;
return $this;
}
public function getDateCreate(): ?\DateTimeInterface
{
return $this->dateCreate;
}
public function setDateCreate(\DateTimeInterface $dateCreate): self
{
$this->dateCreate = $dateCreate;
return $this;
}
public function getStatus(): ?int
{
return $this->status;
}
public function setStatus(?int $status): self
{
$this->status = $status;
return $this;
}
public function getIsDeleted(): ?bool
{
return $this->isDeleted;
}
public function setIsDeleted(?bool $isDeleted): self
{
$this->isDeleted = $isDeleted;
return $this;
}
public function getActualStoredPaperAmount(): ?int
{
return $this->actualStoredPaperAmount;
}
public function setActualStoredPaperAmount(int $actualStoredPaperAmount): self
{
$this->actualStoredPaperAmount = $actualStoredPaperAmount;
return $this;
}
public function getActualStoredStickerAmount(): ?int
{
return $this->actualStoredStickerAmount;
}
public function setActualStoredStickerAmount(int $actualStoredStickerAmount): self
{
$this->actualStoredStickerAmount = $actualStoredStickerAmount;
return $this;
}
public function getComment(): ?string
{
return $this->comment;
}
public function setComment(?string $comment): self
{
$this->comment = $comment;
return $this;
}
public function getUnitPrice(): ?string
{
return $this->unitPrice;
}
public function setUnitPrice(?string $unitPrice): self
{
$this->unitPrice = $unitPrice;
return $this;
}
public function getUnitPriceCurrency(): ?Currency
{
return $this->unitPriceCurrency;
}
public function setUnitPriceCurrency(?Currency $unitPriceCurrency): self
{
$this->unitPriceCurrency = $unitPriceCurrency;
return $this;
}
public function getReportDate(): ?\DateTimeInterface
{
return $this->reportDate;
}
public function setReportDate(\DateTimeInterface $reportDate): self
{
$this->reportDate = $reportDate;
return $this;
}
public function getUserUpdate(): ?Users
{
return $this->userUpdate;
}
public function setUserUpdate(?Users $userUpdate): self
{
$this->userUpdate = $userUpdate;
return $this;
}
public function getDateUpdate(): ?\DateTimeInterface
{
return $this->dateUpdate;
}
public function setDateUpdate(?\DateTimeInterface $dateUpdate): self
{
$this->dateUpdate = $dateUpdate;
return $this;
}
public function getTotalA4LandscapeRemain(): ?int
{
return $this->totalA4LandscapeRemain;
}
public function setTotalA4LandscapeRemain(int $totalA4LandscapeRemain): self
{
$this->totalA4LandscapeRemain = $totalA4LandscapeRemain;
return $this;
}
public function getTotalA5LandscapeRemain(): ?int
{
return $this->totalA5LandscapeRemain;
}
public function setTotalA5LandscapeRemain(int $totalA5LandscapeRemain): self
{
$this->totalA5LandscapeRemain = $totalA5LandscapeRemain;
return $this;
}
}