<?phpnamespace App\Entity;use App\Repository\PrescriberPointRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;use Symfony\UX\Turbo\Attribute\Broadcast;#[ORM\Entity(repositoryClass: PrescriberPointRepository::class)]#[Broadcast]class PrescriberPoint{ use IdentifiableTrait; #[ORM\Column] private ?float $quantity = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $createdAt = null; #[ORM\Column(length: 500, nullable: true)] private ?string $commentary = null; #[ORM\ManyToOne(inversedBy: 'prescriberPoints')] #[ORM\JoinColumn(nullable: true)] private ?BillingCenter $billingCenter = null; #[ORM\ManyToOne(inversedBy: 'prescriberPoints')] #[ORM\JoinColumn(nullable: false)] private ?User $origin = null; #[ORM\ManyToOne(inversedBy: 'prescriberPoints')] private ?Invoice $invoice = null; #[ORM\ManyToOne(inversedBy: 'points')] #[ORM\JoinColumn(nullable: true)] private ?Prescriber $prescriber = null; #[ORM\ManyToOne(inversedBy: 'prescriberPoints')] #[ORM\JoinColumn(nullable: false)] private ?Currency $currency = null; #[ORM\Column(nullable: true)] private ?bool $hidden = null; public function getId(): ?int { return $this->id; } public function getPrescriber(): ?Prescriber { return $this->prescriber; } public function setPrescriber(?Prescriber $prescriber): self { $this->prescriber = $prescriber; return $this; } public function getQuantity(): ?float { return $this->quantity; } public function setQuantity(float $quantity): self { $this->quantity = $quantity; return $this; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(\DateTimeInterface $createdAt): self { $this->createdAt = $createdAt; return $this; } public function getCommentary(): ?string { return $this->commentary; } public function setCommentary(?string $commentary): self { $this->commentary = $commentary; return $this; } public function getBillingCenter(): ?BillingCenter { return $this->billingCenter; } public function setBillingCenter(?BillingCenter $billingCenter): self { $this->billingCenter = $billingCenter; return $this; } public function getOrigin(): ?User { return $this->origin; } public function setOrigin(?User $origin): self { $this->origin = $origin; return $this; } public function getInvoice(): ?Invoice { return $this->invoice; } public function setInvoice(?Invoice $invoice): self { $this->invoice = $invoice; return $this; } public function getCurrency(): ?Currency { return $this->currency; } public function setCurrency(?Currency $currency): self { $this->currency = $currency; return $this; } public function isHidden(): ?bool { return $this->hidden; } public function setHidden(?bool $hidden): self { $this->hidden = $hidden; return $this; }}