<?php
namespace App\Entity\System;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name="ps_order_tax")
*
* @ORM\Entity(repositoryClass="App\Repository\System\OrderTaxRepository")
*/
class OrderTax
{
/**
* @ORM\Id()
*
* @ORM\GeneratedValue()
*
* @ORM\Column(type="integer", name="id_order_tax")
*/
private ?int $id = null;
/**
* @var Order
*
* @ORM\OneToOne(targetEntity="App\Entity\System\Order", inversedBy="orderTax")
*
* @ORM\JoinColumn(referencedColumnName="id_order", name="id_order")
*/
private Order $order;
/**
* @ORM\Column(type="float", scale=2, precision=10, name="iva2")
*/
private ?float $iva2 = null;
/**
* @ORM\Column(type="float", scale=2, precision=10, name="iva4")
*/
private ?float $iva4 = null;
/**
* @ORM\Column(type="float", scale=2, precision=10, name="iva5")
*/
private ?float $iva5 = null;
/**
* @ORM\Column(type="float", scale=2, precision=10, name="iva7")
*/
private ?float $iva7 = null;
/**
* @ORM\Column(type="float", scale=2, precision=10, name="iva10")
*/
private ?float $iva10 = null;
/**
* @ORM\Column(type="float", scale=2, precision=10, name="iva21")
*/
private ?float $iva21 = null;
/**
* @ORM\Column(type="float", scale=2, precision=10, name="re2")
*/
private ?float $re2 = null;
/**
* @ORM\Column(type="float", scale=2, precision=10, name="re4")
*/
private ?float $re4 = null;
/**
* @ORM\Column(type="float", scale=2, precision=10, name="re5")
*/
private ?float $re5 = null;
/**
* @ORM\Column(type="float", scale=2, precision=10, name="re7")
*/
private ?float $re7 = null;
/**
* @ORM\Column(type="float", scale=2, precision=10, name="re10")
*/
private ?float $re10 = null;
/**
* @ORM\Column(type="float", scale=2, precision=10, name="re21")
*/
private ?float $re21 = null;
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
public function setOrder(Order $order): OrderTax
{
$this->order = $order;
return $this;
}
/**
* @return Order
*/
public function getOrder(): Order
{
return $this->order;
}
public function getIva2(): ?float
{
return $this->iva2;
}
public function setIva2(?float $iva2): OrderTax
{
$this->iva2 = $iva2;
return $this;
}
public function getIva4(): ?float
{
return $this->iva4;
}
public function setIva4(?float $iva4): OrderTax
{
$this->iva4 = $iva4;
return $this;
}
public function getIva5(): ?float
{
return $this->iva5;
}
public function setIva5(?float $iva5): OrderTax
{
$this->iva5 = $iva5;
return $this;
}
public function getIva7(): ?float
{
return $this->iva7;
}
public function setIva7(?float $iva7): OrderTax
{
$this->iva7 = $iva7;
return $this;
}
public function getIva10(): ?float
{
return $this->iva10;
}
public function setIva10(?float $iva10): OrderTax
{
$this->iva10 = $iva10;
return $this;
}
public function getIva21(): ?float
{
return $this->iva21;
}
public function setIva21(?float $iva21): OrderTax
{
$this->iva21 = $iva21;
return $this;
}
public function getRe2(): ?float
{
return $this->re2;
}
public function setRe2(?float $re2): OrderTax
{
$this->re2 = $re2;
return $this;
}
public function getRe4(): ?float
{
return $this->re4;
}
public function setRe4(?float $re4): OrderTax
{
$this->re4 = $re4;
return $this;
}
public function getRe5(): ?float
{
return $this->re5;
}
public function setRe5(?float $re5): OrderTax
{
$this->re5 = $re5;
return $this;
}
public function getRe7(): ?float
{
return $this->re7;
}
public function setRe7(?float $re7): OrderTax
{
$this->re7 = $re7;
return $this;
}
public function getRe10(): ?float
{
return $this->re10;
}
public function setRe10(?float $re10): OrderTax
{
$this->re10 = $re10;
return $this;
}
public function getRe21(): ?float
{
return $this->re21;
}
public function setRe21(?float $re21): OrderTax
{
$this->re21 = $re21;
return $this;
}
}