src/Entity/Billings.php line 9
<?phpnamespace App\Entity;use App\Repository\BillingsRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: BillingsRepository::class)]class Billings{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(targetEntity: User::class, inversedBy: 'billings')]private $user;#[ORM\Column(name: 'billing', type: 'string', nullable: false)]private ?string $billing;#[ORM\Column(name: 'commandDate', type: 'date', nullable: true)]private ?\DateTime $commandDate;#[ORM\Column(name: 'totalPaid', type: 'float', nullable: true)]private ?float $totalPaid;public function getId(): ?int{return $this->id;}/*** @return float|null*/public function getTotalPaid(): ?float{return $this->totalPaid;}/*** @param float|null $totalPaid*/public function setTotalPaid(?float $totalPaid): void{$this->totalPaid = $totalPaid;}/*** @return \DateTime|null*/public function getCommandDate(): ?\DateTime{return $this->commandDate;}/*** @param \DateTime|null $commandDate*/public function setCommandDate(?\DateTime $commandDate): void{$this->commandDate = $commandDate;}/*** @return mixed*/public function getUser(){return $this->user;}/*** @param mixed $user*/public function setUser($user): void{$this->user = $user;}/*** @return string|null*/public function getBilling(): ?string{return $this->billing;}/*** @param string|null $billing*/public function setBilling(?string $billing): void{$this->billing = $billing;}}