src/Entity/HtProformaItems.php line 11

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