<?phpnamespace App\Entity;use App\Repository\PricesRepository;use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=PricesRepository::class) * @Auditable() */class Prices{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="float", nullable=true) */ private $price; /** * @ORM\ManyToOne(targetEntity=Sites::class) * @ORM\JoinColumn(nullable=false) */ private $site; /** * @ORM\Column(type="string", length=255) */ private $tarif; /** * @ORM\ManyToOne(targetEntity=DocumentCategory::class) * @ORM\JoinColumn(nullable=false) */ private $documentCategory; /** * @ORM\Column(type="boolean") */ private $status; /** * @ORM\Column(type="boolean") */ private $isDeleted; /** * @ORM\ManyToOne(targetEntity=Users::class) */ private $userCreate; /** * @ORM\ManyToOne(targetEntity=Users::class) */ private $userUpdate; /** * @ORM\Column(type="datetime") */ private $dateCreate; /** * @ORM\Column(type="datetime", nullable=true) */ private $dateUpdate; /** * @ORM\ManyToOne(targetEntity=Currency::class) */ private $currency; public function getId(): ?int { return $this->id; } public function getPrice(): ?float { return $this->price; } public function setPrice(float $price): self { $this->price = $price; return $this; } public function getCurrency(): ?Currency { return $this->currency; } public function setCurrency(Currency $currency): self { $this->currency = $currency; return $this; } public function getStatus(): ?bool { return $this->status; } public function setStatus(bool $status): self { $this->status = $status; return $this; } public function getSite(): ?Sites { return $this->site; } public function setSite(?Sites $site): self { $this->site = $site; return $this; } public function getDocumentCategory(): ?DocumentCategory { return $this->documentCategory; } public function setDocumentCategory(?DocumentCategory $documentCategory): self { $this->documentCategory = $documentCategory; return $this; } public function getIsDeleted(): ?bool { return $this->isDeleted; } public function setIsDeleted(bool $isDeleted): self { $this->isDeleted = $isDeleted; return $this; } public function getUserCreate(): ?Users { return $this->userCreate; } public function setUserCreate(?Users $userCreate): self { $this->userCreate = $userCreate; return $this; } public function getUserUpdate(): ?Users { return $this->userUpdate; } public function setUserUpdate(?Users $userUpdate): self { $this->userUpdate = $userUpdate; return $this; } public function getDateCreate(): ?\DateTimeInterface { return $this->dateCreate; } public function setDateCreate(\DateTimeInterface $dateCreate): self { $this->dateCreate = $dateCreate; return $this; } public function getDateUpdate(): ?\DateTimeInterface { return $this->dateUpdate; } public function setDateUpdate(?\DateTimeInterface $dateUpdate): self { $this->dateUpdate = $dateUpdate; return $this; } public function getTarif(): ?string { return $this->tarif; } public function setTarif(string $tarif): self { $this->tarif = $tarif; return $this; }}