src/Entity/Preciosventa.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * Preciosventa
  7.  *
  8.  * @ORM\Table(name="preciosventa", uniqueConstraints={@ORM\UniqueConstraint(name="CODARTICULO", columns={"CODARTICULO"})}, indexes={@ORM\Index(name="IDTARIFAV", columns={"IDTARIFAV"})}, options={"readOnly": true})
  9.  * @ORM\Entity
  10.  */
  11. class Preciosventa
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\id
  17.      * @ORM\Column(name="IDTARIFAV", type="integer", nullable=false)
  18.      */
  19.     private $idtarifav;
  20.     /**
  21.      * @var int
  22.      *
  23.      * @ORM\Column(name="CODARTICULO", type="integer", nullable=false)
  24.      */
  25.     private $codarticulo;
  26.     /**
  27.      * @var string|null
  28.      *
  29.      * @ORM\Column(name="TALLA", type="string", length=10, nullable=true, options={"default"="NULL"})
  30.      */
  31.     private $talla 'NULL';
  32.     /**
  33.      * @var string|null
  34.      *
  35.      * @ORM\Column(name="COLOR", type="string", length=10, nullable=true, options={"default"="NULL"})
  36.      */
  37.     private $color 'NULL';
  38.     /**
  39.      * @var float|null
  40.      *
  41.      * @ORM\Column(name="PBRUTO", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  42.      */
  43.     private $pbruto NULL;
  44.     /**
  45.      * @var float|null
  46.      *
  47.      * @ORM\Column(name="X", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  48.      */
  49.     private $x NULL;
  50.     /**
  51.      * @var float|null
  52.      *
  53.      * @ORM\Column(name="Y", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  54.      */
  55.     private $y NULL;
  56.     /**
  57.      * @var float|null
  58.      *
  59.      * @ORM\Column(name="DTO", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  60.      */
  61.     private $dto NULL;
  62.     /**
  63.      * @var float|null
  64.      *
  65.      * @ORM\Column(name="PNETO", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  66.      */
  67.     private $pneto NULL;
  68.     /**
  69.      * @var float|null
  70.      *
  71.      * @ORM\Column(name="BENEFICIO", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  72.      */
  73.     private $beneficio NULL;
  74.     /**
  75.      * @var float|null
  76.      *
  77.      * @ORM\Column(name="PORCC", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  78.      */
  79.     private $porcc NULL;
  80.     /**
  81.      * @var float|null
  82.      *
  83.      * @ORM\Column(name="PORCV", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  84.      */
  85.     private $porcv NULL;
  86.     /**
  87.      * @var \DateTime|null
  88.      *
  89.      * @ORM\Column(name="FECHAMODIFICADO", type="datetime", nullable=true, options={"default"="NULL"})
  90.      */
  91.     private $fechamodificado 'NULL';
  92.     /**
  93.      * @var int|null
  94.      *
  95.      * @ORM\Column(name="CODMONEDA", type="integer", nullable=true, options={"default"="NULL"})
  96.      */
  97.     private $codmoneda NULL;
  98.     /**
  99.      * @var int|null
  100.      *
  101.      * @ORM\Column(name="CODFORMATO", type="integer", nullable=true, options={"default"="NULL"})
  102.      */
  103.     private $codformato NULL;
  104.     /**
  105.      * @var string|null
  106.      *
  107.      * @ORM\Column(name="DTOTEXTO", type="string", length=60, nullable=true, options={"default"="NULL"})
  108.      */
  109.     private $dtotexto 'NULL';
  110.     /**
  111.      * @var float|null
  112.      *
  113.      * @ORM\Column(name="PNETOANTERIOR", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  114.      */
  115.     private $pnetoanterior NULL;
  116.     /**
  117.      * @var \DateTime|null
  118.      *
  119.      * @ORM\Column(name="CADUCIDAD", type="datetime", nullable=true, options={"default"="NULL"})
  120.      */
  121.     private $caducidad 'NULL';
  122.     /**
  123.      * @var float|null
  124.      *
  125.      * @ORM\Column(name="PBRUTO2", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  126.      */
  127.     private $pbruto2 NULL;
  128.     /**
  129.      * @var float|null
  130.      *
  131.      * @ORM\Column(name="DTO2", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  132.      */
  133.     private $dto2 NULL;
  134.     /**
  135.      * @var float|null
  136.      *
  137.      * @ORM\Column(name="PNETO2", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  138.      */
  139.     private $pneto2 NULL;
  140.     /**
  141.      * @var string|null
  142.      *
  143.      * @ORM\Column(name="DTOTEXTO2", type="string", length=60, nullable=true, options={"default"="NULL"})
  144.      */
  145.     private $dtotexto2 'NULL';
  146.     /**
  147.      * @var \DateTime|null
  148.      *
  149.      * @ORM\Column(name="DESDE2", type="datetime", nullable=true, options={"default"="NULL"})
  150.      */
  151.     private $desde2 'NULL';
  152.     /**
  153.      * @var \DateTime|null
  154.      *
  155.      * @ORM\Column(name="HASTA2", type="datetime", nullable=true, options={"default"="NULL"})
  156.      */
  157.     private $hasta2 'NULL';
  158.     /**
  159.      * @var float|null
  160.      *
  161.      * @ORM\Column(name="PORCTB", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  162.      */
  163.     private $porctb NULL;
  164.     /**
  165.      * @var bool|null
  166.      *
  167.      * @ORM\Column(name="DESCATALOGADO", type="boolean", nullable=true, options={"default"="NULL"})
  168.      */
  169.     private $descatalogado 'NULL';
  170.     /**
  171.      * @var float|null
  172.      *
  173.      * @ORM\Column(name="PORCDEF", type="float", precision=10, scale=0, nullable=true, options={"default"="NULL"})
  174.      */
  175.     private $porcdef NULL;
  176.     /**
  177.      * @var string|null
  178.      *
  179.      * @ORM\Column(name="COSTESUPUESTO", type="string", length=1, nullable=true, options={"default"="NULL"})
  180.      */
  181.     private $costesupuesto 'NULL';
  182.     /**
  183.      * @var binary|null
  184.      *
  185.      * @ORM\Column(name="VERSION", type="binary", nullable=true, options={"default"="NULL"})
  186.      */
  187.     private $version 'NULL';
  188.     public function getIdtarifav(): ?int
  189.     {
  190.         return $this->idtarifav;
  191.     }
  192.     public function setIdtarifav(int $idtarifav): self
  193.     {
  194.         $this->idtarifav $idtarifav;
  195.         return $this;
  196.     }
  197.     public function getCodarticulo(): ?int
  198.     {
  199.         return $this->codarticulo;
  200.     }
  201.     public function setCodarticulo(int $codarticulo): self
  202.     {
  203.         $this->codarticulo $codarticulo;
  204.         return $this;
  205.     }
  206.     public function getTalla(): ?string
  207.     {
  208.         return $this->talla;
  209.     }
  210.     public function setTalla(?string $talla): self
  211.     {
  212.         $this->talla $talla;
  213.         return $this;
  214.     }
  215.     public function getColor(): ?string
  216.     {
  217.         return $this->color;
  218.     }
  219.     public function setColor(?string $color): self
  220.     {
  221.         $this->color $color;
  222.         return $this;
  223.     }
  224.     public function getPbruto(): ?float
  225.     {
  226.         return $this->pbruto;
  227.     }
  228.     public function setPbruto(?float $pbruto): self
  229.     {
  230.         $this->pbruto $pbruto;
  231.         return $this;
  232.     }
  233.     public function getX(): ?float
  234.     {
  235.         return $this->x;
  236.     }
  237.     public function setX(?float $x): self
  238.     {
  239.         $this->$x;
  240.         return $this;
  241.     }
  242.     public function getY(): ?float
  243.     {
  244.         return $this->y;
  245.     }
  246.     public function setY(?float $y): self
  247.     {
  248.         $this->$y;
  249.         return $this;
  250.     }
  251.     public function getDto(): ?float
  252.     {
  253.         return $this->dto;
  254.     }
  255.     public function setDto(?float $dto): self
  256.     {
  257.         $this->dto $dto;
  258.         return $this;
  259.     }
  260.     public function getPneto(): ?float
  261.     {
  262.         return $this->pneto;
  263.     }
  264.     public function setPneto(?float $pneto): self
  265.     {
  266.         $this->pneto $pneto;
  267.         return $this;
  268.     }
  269.     public function getBeneficio(): ?float
  270.     {
  271.         return $this->beneficio;
  272.     }
  273.     public function setBeneficio(?float $beneficio): self
  274.     {
  275.         $this->beneficio $beneficio;
  276.         return $this;
  277.     }
  278.     public function getPorcc(): ?float
  279.     {
  280.         return $this->porcc;
  281.     }
  282.     public function setPorcc(?float $porcc): self
  283.     {
  284.         $this->porcc $porcc;
  285.         return $this;
  286.     }
  287.     public function getPorcv(): ?float
  288.     {
  289.         return $this->porcv;
  290.     }
  291.     public function setPorcv(?float $porcv): self
  292.     {
  293.         $this->porcv $porcv;
  294.         return $this;
  295.     }
  296.     public function getFechamodificado(): ?\DateTimeInterface
  297.     {
  298.         return $this->fechamodificado;
  299.     }
  300.     public function setFechamodificado(?\DateTimeInterface $fechamodificado): self
  301.     {
  302.         $this->fechamodificado $fechamodificado;
  303.         return $this;
  304.     }
  305.     public function getCodmoneda(): ?int
  306.     {
  307.         return $this->codmoneda;
  308.     }
  309.     public function setCodmoneda(?int $codmoneda): self
  310.     {
  311.         $this->codmoneda $codmoneda;
  312.         return $this;
  313.     }
  314.     public function getCodformato(): ?int
  315.     {
  316.         return $this->codformato;
  317.     }
  318.     public function setCodformato(?int $codformato): self
  319.     {
  320.         $this->codformato $codformato;
  321.         return $this;
  322.     }
  323.     public function getDtotexto(): ?string
  324.     {
  325.         return $this->dtotexto;
  326.     }
  327.     public function setDtotexto(?string $dtotexto): self
  328.     {
  329.         $this->dtotexto $dtotexto;
  330.         return $this;
  331.     }
  332.     public function getPnetoanterior(): ?float
  333.     {
  334.         return $this->pnetoanterior;
  335.     }
  336.     public function setPnetoanterior(?float $pnetoanterior): self
  337.     {
  338.         $this->pnetoanterior $pnetoanterior;
  339.         return $this;
  340.     }
  341.     public function getCaducidad(): ?\DateTimeInterface
  342.     {
  343.         return $this->caducidad;
  344.     }
  345.     public function setCaducidad(?\DateTimeInterface $caducidad): self
  346.     {
  347.         $this->caducidad $caducidad;
  348.         return $this;
  349.     }
  350.     public function getPbruto2(): ?float
  351.     {
  352.         return $this->pbruto2;
  353.     }
  354.     public function setPbruto2(?float $pbruto2): self
  355.     {
  356.         $this->pbruto2 $pbruto2;
  357.         return $this;
  358.     }
  359.     public function getDto2(): ?float
  360.     {
  361.         return $this->dto2;
  362.     }
  363.     public function setDto2(?float $dto2): self
  364.     {
  365.         $this->dto2 $dto2;
  366.         return $this;
  367.     }
  368.     public function getPneto2(): ?float
  369.     {
  370.         return $this->pneto2;
  371.     }
  372.     public function setPneto2(?float $pneto2): self
  373.     {
  374.         $this->pneto2 $pneto2;
  375.         return $this;
  376.     }
  377.     public function getDtotexto2(): ?string
  378.     {
  379.         return $this->dtotexto2;
  380.     }
  381.     public function setDtotexto2(?string $dtotexto2): self
  382.     {
  383.         $this->dtotexto2 $dtotexto2;
  384.         return $this;
  385.     }
  386.     public function getDesde2(): ?\DateTimeInterface
  387.     {
  388.         return $this->desde2;
  389.     }
  390.     public function setDesde2(?\DateTimeInterface $desde2): self
  391.     {
  392.         $this->desde2 $desde2;
  393.         return $this;
  394.     }
  395.     public function getHasta2(): ?\DateTimeInterface
  396.     {
  397.         return $this->hasta2;
  398.     }
  399.     public function setHasta2(?\DateTimeInterface $hasta2): self
  400.     {
  401.         $this->hasta2 $hasta2;
  402.         return $this;
  403.     }
  404.     public function getPorctb(): ?float
  405.     {
  406.         return $this->porctb;
  407.     }
  408.     public function setPorctb(?float $porctb): self
  409.     {
  410.         $this->porctb $porctb;
  411.         return $this;
  412.     }
  413.     public function getDescatalogado(): ?bool
  414.     {
  415.         return $this->descatalogado;
  416.     }
  417.     public function setDescatalogado(?bool $descatalogado): self
  418.     {
  419.         $this->descatalogado $descatalogado;
  420.         return $this;
  421.     }
  422.     public function getPorcdef(): ?float
  423.     {
  424.         return $this->porcdef;
  425.     }
  426.     public function setPorcdef(?float $porcdef): self
  427.     {
  428.         $this->porcdef $porcdef;
  429.         return $this;
  430.     }
  431.     public function getCostesupuesto(): ?string
  432.     {
  433.         return $this->costesupuesto;
  434.     }
  435.     public function setCostesupuesto(?string $costesupuesto): self
  436.     {
  437.         $this->costesupuesto $costesupuesto;
  438.         return $this;
  439.     }
  440.     public function getVersion()
  441.     {
  442.         return $this->version;
  443.     }
  444.     public function setVersion($version): self
  445.     {
  446.         $this->version $version;
  447.         return $this;
  448.     }
  449.     public function isDescatalogado(): ?bool
  450.     {
  451.         return $this->descatalogado;
  452.     }
  453. }