src/Entity/InvoiceDetailTaxes.php line 15
<?php/** @author Guerby Duval <info@tranzaksyon.com>* @link https://tranzaksyon.com* @copyright You are not allowed to remove this author "Guerby Duval <info@tranzaksyon.com>", the link "https://tranzaksyon.com" neither this copyright.*/namespace App\Entity;use App\Repository\InvoiceDetailTaxesRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: InvoiceDetailTaxesRepository::class)]class InvoiceDetailTaxes{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(inversedBy: 'invoiceDetailTaxes')]#[ORM\JoinColumn(nullable: false)]private ?InvoiceDetail $invoiceDetail = null;#[ORM\Column]private ?int $code = null;#[ORM\Column]private ?int $percentage = null;#[ORM\Column(type: Types::DECIMAL, precision: 10, scale: 2)]private ?string $fare = null;#[ORM\Column(type: Types::DECIMAL, precision: 10, scale: 2)]private float $base = 0;#[ORM\Column(type: Types::DECIMAL, precision: 10, scale: 2)]private float $taxAmount = 0;public function getId(): ?int{return $this->id;}public function getInvoiceDetail(): ?InvoiceDetail{return $this->invoiceDetail;}public function setInvoiceDetail(?InvoiceDetail $invoiceDetail): self{$this->invoiceDetail = $invoiceDetail;return $this;}public function getCode(): ?int{return $this->code;}public function setCode(int $code): self{$this->code = $code;return $this;}public function getPercentage(): ?int{return $this->percentage;}public function setPercentage(int $percentage): self{$this->percentage = $percentage;return $this;}public function getFare(): ?string{return $this->fare;}public function setFare(string $fare): self{$this->fare = $fare;return $this;}public function getBase(): float{return $this->base;}public function setBase(float $base): self{$this->base = $base;return $this;}public function getTaxAmount(): float{return $this->taxAmount;}public function setTaxAmount(float $taxAmount): self{$this->taxAmount = $taxAmount;return $this;}}