<?php
namespace App\Entity;
use App\Repository\ModuleTypeValueRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ModuleTypeValueRepository::class)]
class ModuleTypeValue
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 255)]
private $value;
#[ORM\ManyToOne(targetEntity: AccountingFirm::class, inversedBy: 'moduleTypeValues')]
private $accountingFirm;
#[ORM\ManyToOne(targetEntity: ModuleType::class, inversedBy: 'moduleTypeValues')]
private $moduleType;
public function getId(): ?int
{
return $this->id;
}
public function getValue(): ?string
{
return $this->value;
}
public function setValue(string $value): self
{
$this->value = $value;
return $this;
}
public function getAccountingFirm(): ?AccountingFirm
{
return $this->accountingFirm;
}
public function setAccountingFirm(?AccountingFirm $accountingFirm): self
{
$this->accountingFirm = $accountingFirm;
return $this;
}
public function getModuleType(): ?ModuleType
{
return $this->moduleType;
}
public function setModuleType(?ModuleType $moduleType): self
{
$this->moduleType = $moduleType;
return $this;
}
}