<?phpnamespace App\Entity\BC;use App\Repository\BC\VatCombinationRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: VatCombinationRepository::class)]class VatCombination{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: 'integer')] private ?int $id = null; #[ORM\ManyToOne(targetEntity: VatProductGroup::class, inversedBy: 'combinations')] #[ORM\JoinColumn(nullable: false)] private ?VatProductGroup $vatProductGroup = null; #[ORM\Column(type: 'string', length: 50, nullable: true)] private ?string $vatProdPostingGroup = null; #[ORM\Column(type: 'integer', nullable: true)] private ?int $vatPercent = null; #[ORM\Column(type: 'string', length: 50, nullable: true)] private ?string $vatId = null; #[ORM\ManyToOne(targetEntity: TaxCalculationType::class)] #[ORM\JoinColumn(nullable: true)] private ?TaxCalculationType $taxCalculationType = null; #[ORM\Column(type: 'boolean')] private bool $isBlocked = false; public function getId(): ?int { return $this->id; } public function getVatProductGroup(): ?VatProductGroup { return $this->vatProductGroup; } public function setVatProductGroup(?VatProductGroup $vatProductGroup): void { $this->vatProductGroup = $vatProductGroup; } public function getVatProdPostingGroup(): ?string { return $this->vatProdPostingGroup; } public function setVatProdPostingGroup(?string $vatProdPostingGroup): void { $this->vatProdPostingGroup = $vatProdPostingGroup; } public function getVatPercent(): ?int { return $this->vatPercent; } public function setVatPercent(?int $vatPercent): void { $this->vatPercent = $vatPercent; } public function getVatId(): ?string { return $this->vatId; } public function setVatId(?string $vatId): void { $this->vatId = $vatId; } public function getTaxCalculationType(): ?TaxCalculationType { return $this->taxCalculationType; } public function setTaxCalculationType(?TaxCalculationType $taxCalculationType): void { $this->taxCalculationType = $taxCalculationType; } public function isBlocked(): bool { return $this->isBlocked; } public function setIsBlocked(?bool $isBlocked): void { $this->isBlocked = $isBlocked ?? false; }}