src/Entity/HtInvoiceItems.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\HtInvoiceItemsRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=HtInvoiceItemsRepository::class)
  7.  */
  8. class HtInvoiceItems
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=HtInvoice::class, inversedBy="htInvoiceItems")
  18.      * @ORM\JoinColumn(nullable=false)
  19.      */
  20.     private $invoice;
  21.     /**
  22.      * @ORM\ManyToOne(targetEntity=HtFile::class)
  23.      * @ORM\JoinColumn(nullable=false)
  24.      */
  25.     private $htFile;
  26.     /**
  27.      * @ORM\Column(type="string", length=50)
  28.      */
  29.     private $itemType;
  30.     /**
  31.      * @ORM\Column(type="integer")
  32.      */
  33.     private $itemIdOrigin;
  34.     /**
  35.      * @ORM\Column(type="string", length=512)
  36.      */
  37.     private $itemName;
  38.     /**
  39.      * @ORM\Column(type="datetime")
  40.      */
  41.     private $itemDateStart;
  42.     /**
  43.      * @ORM\Column(type="datetime")
  44.      */
  45.     private $itemDateEnd;
  46.     /**
  47.      * @ORM\Column(type="float")
  48.      */
  49.     private $itemPrice;
  50.     /**
  51.      * @ORM\Column(type="integer")
  52.      */
  53.     private $itemUnits;
  54.     /**
  55.      * @ORM\Column(type="integer")
  56.      */
  57.     private $itemPax;
  58.     /**
  59.      * @ORM\Column(type="float")
  60.      */
  61.     private $itemKgLt;
  62.     /**
  63.      * @ORM\Column(type="integer", nullable=true)
  64.      */
  65.     private $itemRank;
  66.     /**
  67.      * @ORM\Column(type="string", length=255, nullable=true)
  68.      */
  69.     private $itemLocation;
  70.     /**
  71.      * @ORM\Column(type="integer")
  72.      */
  73.     private $itemIva;
  74.     /**
  75.      * @ORM\Column(type="boolean")
  76.      */
  77.     private $itemOpIva;
  78.     /**
  79.      * @ORM\Column(type="float")
  80.      */
  81.     private $itemCommission;
  82.     /**
  83.      * @ORM\Column(type="boolean")
  84.      */
  85.     private $itemOpCommission;
  86.     /**
  87.      * @ORM\Column(type="float")
  88.      */
  89.     private $itemOver;
  90.     /**
  91.      * @ORM\Column(type="boolean")
  92.      */
  93.     private $itemOpOver;
  94.     /**
  95.      * @ORM\Column(type="float")
  96.      */
  97.     private $itemSubTotalPrice;
  98.     /**
  99.      * @ORM\Column(type="float")
  100.      */
  101.     private $itemCosteDirecto;
  102.     /**
  103.      * @ORM\Column(type="float")
  104.      */
  105.     private $itemBeneficio;
  106.     public function getId(): ?int
  107.     {
  108.         return $this->id;
  109.     }
  110.     public function getInvoice(): ?HtInvoice
  111.     {
  112.         return $this->invoice;
  113.     }
  114.     public function setInvoice(?HtInvoice $invoice): self
  115.     {
  116.         $this->invoice $invoice;
  117.         return $this;
  118.     }
  119.     public function getHtFile(): ?HtFile
  120.     {
  121.         return $this->htFile;
  122.     }
  123.     public function setHtFile(?HtFile $htFile): self
  124.     {
  125.         $this->htFile $htFile;
  126.         return $this;
  127.     }
  128.     public function getItemType(): ?string
  129.     {
  130.         return $this->itemType;
  131.     }
  132.     public function setItemType(string $itemType): self
  133.     {
  134.         $this->itemType $itemType;
  135.         return $this;
  136.     }
  137.     public function getItemIdOrigin(): ?int
  138.     {
  139.         return $this->itemIdOrigin;
  140.     }
  141.     public function setItemIdOrigin(int $itemIdOrigin): self
  142.     {
  143.         $this->itemIdOrigin $itemIdOrigin;
  144.         return $this;
  145.     }
  146.     public function getItemName(): ?string
  147.     {
  148.         return $this->itemName;
  149.     }
  150.     public function setItemName(string $itemName): self
  151.     {
  152.         $this->itemName $itemName;
  153.         return $this;
  154.     }
  155.     public function getItemDateStart(): ?\DateTimeInterface
  156.     {
  157.         return $this->itemDateStart;
  158.     }
  159.     public function setItemDateStart(\DateTimeInterface $itemDateStart): self
  160.     {
  161.         $this->itemDateStart $itemDateStart;
  162.         return $this;
  163.     }
  164.     public function getItemDateEnd(): ?\DateTimeInterface
  165.     {
  166.         return $this->itemDateEnd;
  167.     }
  168.     public function setItemDateEnd(\DateTimeInterface $itemDateEnd): self
  169.     {
  170.         $this->itemDateEnd $itemDateEnd;
  171.         return $this;
  172.     }
  173.     public function getItemPrice(): ?float
  174.     {
  175.         return $this->itemPrice;
  176.     }
  177.     public function setItemPrice(float $itemPrice): self
  178.     {
  179.         $this->itemPrice $itemPrice;
  180.         return $this;
  181.     }
  182.     public function getItemUnits(): ?int
  183.     {
  184.         return $this->itemUnits;
  185.     }
  186.     public function setItemUnits(int $itemUnits): self
  187.     {
  188.         $this->itemUnits $itemUnits;
  189.         return $this;
  190.     }
  191.     public function getItemPax(): ?int
  192.     {
  193.         return $this->itemPax;
  194.     }
  195.     public function setItemPax(int $itemPax): self
  196.     {
  197.         $this->itemPax $itemPax;
  198.         return $this;
  199.     }
  200.     public function getItemKgLt(): ?float
  201.     {
  202.         return $this->itemKgLt;
  203.     }
  204.     public function setItemKgLt(float $itemKgLt): self
  205.     {
  206.         $this->itemKgLt $itemKgLt;
  207.         return $this;
  208.     }
  209.     public function getItemRank(): ?int
  210.     {
  211.         return $this->itemRank;
  212.     }
  213.     public function setItemRank(?int $itemRank): self
  214.     {
  215.         $this->itemRank $itemRank;
  216.         return $this;
  217.     }
  218.     public function getItemLocation(): ?string
  219.     {
  220.         return $this->itemLocation;
  221.     }
  222.     public function setItemLocation(?string $itemLocation): self
  223.     {
  224.         $this->itemLocation $itemLocation;
  225.         return $this;
  226.     }
  227.     public function getItemIva(): ?int
  228.     {
  229.         return $this->itemIva;
  230.     }
  231.     public function setItemIva(int $itemIva): self
  232.     {
  233.         $this->itemIva $itemIva;
  234.         return $this;
  235.     }
  236.     public function isItemOpIva(): ?bool
  237.     {
  238.         return $this->itemOpIva;
  239.     }
  240.     public function setItemOpIva(bool $itemOpIva): self
  241.     {
  242.         $this->itemOpIva $itemOpIva;
  243.         return $this;
  244.     }
  245.     public function getItemCommission(): ?float
  246.     {
  247.         return $this->itemCommission;
  248.     }
  249.     public function setItemCommission(float $itemCommission): self
  250.     {
  251.         $this->itemCommission $itemCommission;
  252.         return $this;
  253.     }
  254.     public function isItemOpCommission(): ?bool
  255.     {
  256.         return $this->itemOpCommission;
  257.     }
  258.     public function setItemOpCommission(bool $itemOpCommission): self
  259.     {
  260.         $this->itemOpCommission $itemOpCommission;
  261.         return $this;
  262.     }
  263.     public function getItemOver(): ?float
  264.     {
  265.         return $this->itemOver;
  266.     }
  267.     public function setItemOver(float $itemOver): self
  268.     {
  269.         $this->itemOver $itemOver;
  270.         return $this;
  271.     }
  272.     public function isItemOpOver(): ?bool
  273.     {
  274.         return $this->itemOpOver;
  275.     }
  276.     public function setItemOpOver(bool $itemOpOver): self
  277.     {
  278.         $this->itemOpOver $itemOpOver;
  279.         return $this;
  280.     }
  281.     public function getItemSubTotalPrice(): ?float
  282.     {
  283.         return $this->itemSubTotalPrice;
  284.     }
  285.     public function setItemSubTotalPrice(float $itemSubTotalPrice): self
  286.     {
  287.         $this->itemSubTotalPrice $itemSubTotalPrice;
  288.         return $this;
  289.     }
  290.     public function getItemCosteDirecto(): ?float
  291.     {
  292.         return $this->itemCosteDirecto;
  293.     }
  294.     public function setItemCosteDirecto(float $itemCosteDirecto): self
  295.     {
  296.         $this->itemCosteDirecto $itemCosteDirecto;
  297.         return $this;
  298.     }
  299.     public function getItemBeneficio(): ?float
  300.     {
  301.         return $this->itemBeneficio;
  302.     }
  303.     public function setItemBeneficio(float $itemBeneficio): self
  304.     {
  305.         $this->itemBeneficio $itemBeneficio;
  306.         return $this;
  307.     }
  308. }