<?phpnamespace App\Entity;use App\Repository\RFOrdenCompraItemRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Table(name: 'rf_orden_compra_item')]#[ORM\Entity(repositoryClass: RFOrdenCompraItemRepository::class)]class RFOrdenCompraItem { #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\ManyToOne(inversedBy: 'ordenCompraItems')] private ?RFOrdenCompra $ordenCompra = null; #[ORM\Column(length: 50)] private ?string $item = null; #[ORM\Column(length: 255)] private ?string $referencia = null; #[ORM\Column(type: Types::TEXT)] private ?string $descripcion = null; #[ORM\Column] private ?float $cantidad = null; #[ORM\Column(length: 255)] private ?string $unidadMedida = null; #[ORM\Column] private ?float $valorUnitario = null; #[ORM\Column] private ?float $valorTotal = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $createAt = null; #[ORM\Column(length: 50)] private ?string $createUser = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $updateAt = null; #[ORM\Column(length: 50)] private ?string $updateUser = null; #[ORM\Column(nullable: true)] private ?bool $activoFijo = null; #[ORM\Column] private ?float $iva = null; #[ORM\Column] private ?float $valorIva = null; #[ORM\Column] private ?float $subTotal = null; public function getId(): ?int { return $this->id; } public function getOrdenCompra(): ?RFOrdenCompra { return $this->ordenCompra; } public function setOrdenCompra(?RFOrdenCompra $ordenCompra): static { $this->ordenCompra = $ordenCompra; return $this; } public function getItem(): ?string { return $this->item; } public function setItem(string $item): static { $this->item = $item; return $this; } public function getReferencia(): ?string { return $this->referencia; } public function setReferencia(string $referencia): static { $this->referencia = $referencia; return $this; } public function getDescripcion(): ?string { return $this->descripcion; } public function setDescripcion(string $descripcion): static { $this->descripcion = $descripcion; return $this; } public function getCantidad(): ?float { return $this->cantidad; } public function setCantidad(float $cantidad): static { $this->cantidad = $cantidad; return $this; } public function getUnidadMedida(): ?string { return $this->unidadMedida; } public function setUnidadMedida(string $unidadMedida): static { $this->unidadMedida = $unidadMedida; return $this; } public function getValorUnitario(): ?float { return $this->valorUnitario; } public function setValorUnitario(float $valorUnitario): static { $this->valorUnitario = $valorUnitario; return $this; } public function getValorTotal(): ?float { return $this->valorTotal; } public function setValorTotal(float $valorTotal): static { $this->valorTotal = $valorTotal; return $this; } public function getCreateAt(): ?\DateTimeInterface { return $this->createAt; } public function setCreateAt(\DateTimeInterface $createAt): static { $this->createAt = $createAt; return $this; } public function getCreateUser(): ?string { return $this->createUser; } public function setCreateUser(string $createUser): static { $this->createUser = $createUser; return $this; } public function getUpdateAt(): ?\DateTimeInterface { return $this->updateAt; } public function setUpdateAt(\DateTimeInterface $updateAt): static { $this->updateAt = $updateAt; return $this; } public function getUpdateUser(): ?string { return $this->updateUser; } public function setUpdateUser(string $updateUser): static { $this->updateUser = $updateUser; return $this; } public function isActivoFijo(): ?bool { return $this->activoFijo; } public function setActivoFijo(?bool $activoFijo): static { $this->activoFijo = $activoFijo; return $this; } public function getIva(): ?float { return $this->iva; } public function setIva(float $iva): static { $this->iva = $iva; return $this; } public function getValorIva(): ?float { return $this->valorIva; } public function setValorIva(float $valorIva): static { $this->valorIva = $valorIva; return $this; } public function getSubTotal(): ?float { return $this->subTotal; } public function setSubTotal(float $subTotal): static { $this->subTotal = $subTotal; return $this; }}