src/Entity/Part.php line 18

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PartRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. use Symfony\Component\HttpFoundation\File\File;
  8. use Vich\UploaderBundle\Mapping\Annotation as Vich;
  9. use Symfony\Component\Validator\Constraints as Assert;
  10. use Symfony\Component\Serializer\Annotation\Groups;
  11. /**
  12.  * @ORM\Entity(repositoryClass=PartRepository::class)
  13.  * @Vich\Uploadable
  14.  */
  15. class Part
  16. {
  17.     /**
  18.      * @ORM\Id
  19.      * @ORM\GeneratedValue
  20.      * @ORM\Column(type="integer")
  21.      * @Groups({"part"})
  22.      */
  23.     private $id;
  24.     /**
  25.      * @ORM\Column(type="string", length=255)
  26.      * @Assert\NotBlank
  27.      * @Groups({"part"})
  28.      */
  29.     private $name;
  30.     /**
  31.      * @ORM\Column(type="string", length=100, nullable=true)
  32.      * @Groups({"part"})
  33.      */
  34.     private $serial;
  35.     /**
  36.      * @ORM\Column(type="string", length=100, nullable=true)
  37.      * @Groups({"part"})
  38.      */
  39.     private $part_number;
  40.     /**
  41.      * @ORM\Column(type="string", length=255, nullable=true)
  42.      * @Groups({"part"})
  43.      */
  44.     private $description;
  45.     /**
  46.      * @ORM\Column(type="string", length=100, nullable=true)
  47.      * @Groups({"part"})
  48.      */
  49.     private $rev;
  50.     /**
  51.      * @ORM\Column(type="string", length=100, nullable=true)
  52.      * @Groups({"part"})
  53.      */
  54.     private $alt_part;
  55.     /**
  56.      * @ORM\Column(type="string", length=100, nullable=true)
  57.      * @Groups({"part"})
  58.      */
  59.     private $material;
  60.     /**
  61.      * @ORM\Column(type="string", length=100, nullable=true)
  62.      * @Groups({"part"})
  63.      */
  64.     private $filename;
  65.     /**
  66.      * @ORM\Column(type="string", length=100, nullable=true)
  67.      * @Groups({"part"})
  68.      */
  69.     private $comp_mat_prima;
  70.     /**
  71.      * @ORM\Column(type="string", length=100, nullable=true)
  72.      * @Groups({"part"})
  73.      */
  74.     private $cert_mat_prima;
  75.     /**
  76.      * @ORM\Column(type="string", length=100, nullable=true)
  77.      * @Groups({"part"})
  78.      */
  79.     private $color_mat_prima;
  80.     /**
  81.      * @ORM\Column(type="string", length=100, nullable=true)
  82.      * @Groups({"part"})
  83.      */
  84.     private $cert_proceso;
  85.     /**
  86.      * @ORM\Column(type="boolean", nullable=true)
  87.      * @Groups({"part"})
  88.      */
  89.     private $cert_part;
  90.     /**
  91.      * @ORM\Column(type="string", length=100, nullable=true)
  92.      * @Groups({"part"})
  93.      */
  94.     private $proc_acabado;
  95.     /**
  96.      * @ORM\Column(type="string", length=100, nullable=true)
  97.      * @Groups({"part"})
  98.      */
  99.     private $otros_trat;
  100.     /**
  101.      * @ORM\Column(type="string", length=255, nullable=true)
  102.      * @Groups({"part"})
  103.      */
  104.     private $obs_val;
  105.     /**
  106.      * @ORM\Column(type="string", length=100, nullable=true)
  107.      * @Groups({"part"})
  108.      */
  109.     private $history;
  110.     /**
  111.      * @ORM\Column(type="string", length=255, nullable=true)
  112.      * @Groups({"part"})
  113.      */
  114.     private $notes;
  115.     /**
  116.      * @ORM\Column(type="string", length=255, nullable=true)
  117.      * @Groups({"part"})
  118.      */
  119.     private $technology;
  120.     /**
  121.      * @ORM\Column(type="string", length=100, nullable=true)
  122.      * @Groups({"part"})
  123.      */
  124.     private $client_name;
  125.     /**
  126.      * @ORM\Column(type="string", length=100, nullable=true)
  127.      * @Groups({"part"})
  128.      */
  129.     private $client_ref_part;
  130.     /**
  131.      * @ORM\ManyToOne(targetEntity=Supplier::class, inversedBy="parts")
  132.      * @ORM\JoinColumn(onDelete="SET NULL")
  133.      */
  134.     private $supplier;
  135.     /**
  136.      * @ORM\Column(type="string", length=255, nullable=true)
  137.      * @Groups({"part"})
  138.      */
  139.     private $file_cad;
  140.     /**
  141.      * @ORM\Column(type="string", length=255, nullable=true)
  142.      */
  143.     private $file_stl;
  144.     /**
  145.      * @ORM\Column(type="string", length=255, nullable=true)
  146.      */
  147.     private $file_2d;
  148.     /**
  149.      * @ORM\Column(type="string", length=255, nullable=true)
  150.      */
  151.     private $file_fab;
  152.     /**
  153.      * @ORM\Column(type="string", length=255, nullable=true)
  154.      */
  155.     private $file_verif;
  156.     /**
  157.      * @ORM\Column(type="string", length=255, nullable=true)
  158.      */
  159.     private $file_01;
  160.     /**
  161.      * NOTE: This is not a mapped field of entity metadata, just a simple property.
  162.      *
  163.      * @Vich\UploadableField(mapping="part_file", fileNameProperty="file_01")
  164.      * @Assert\File(
  165.      *     maxSize = "10M",
  166.      *     maxSizeMessage = "El tamaño máximo permitido del archivo es {{ limit }} MB.",
  167.      * )
  168.      *
  169.      * @var File|null
  170.      */
  171.     private $file01File;
  172.     /**
  173.      * @ORM\Column(type="string", length=255, nullable=true)
  174.      */
  175.     private $file_02;
  176.     /**
  177.      * NOTE: This is not a mapped field of entity metadata, just a simple property.
  178.      *
  179.      * @Vich\UploadableField(mapping="part_file", fileNameProperty="file_02")
  180.      * @Assert\File(
  181.      *     maxSize = "10M",
  182.      *     maxSizeMessage = "El tamaño máximo permitido del archivo es {{ limit }} MB.",
  183.      * )
  184.      *
  185.      * @var File|null
  186.      */
  187.     private $file02File;
  188.     /**
  189.      * @ORM\Column(type="string", length=255, nullable=true)
  190.      */
  191.     private $file_03;
  192.     /**
  193.      * NOTE: This is not a mapped field of entity metadata, just a simple property.
  194.      *
  195.      * @Vich\UploadableField(mapping="part_file", fileNameProperty="file_03")
  196.      * @Assert\File(
  197.      *     maxSize = "10M",
  198.      *     maxSizeMessage = "El tamaño máximo permitido del archivo es {{ limit }} MB.",
  199.      * )
  200.      *
  201.      * @var File|null
  202.      */
  203.     private $file03File;
  204.     /**
  205.      * @ORM\Column(type="string", length=255, nullable=true)
  206.      */
  207.     private $file_04;
  208.     /**
  209.      * NOTE: This is not a mapped field of entity metadata, just a simple property.
  210.      *
  211.      * @Vich\UploadableField(mapping="part_file", fileNameProperty="file_04")
  212.      * @Assert\File(
  213.      *     maxSize = "10M",
  214.      *     maxSizeMessage = "El tamaño máximo permitido del archivo es {{ limit }} MB.",
  215.      * )
  216.      *
  217.      * @var File|null
  218.      */
  219.     private $file04File;
  220.     /**
  221.      * @ORM\Column(type="string", length=255, nullable=true)
  222.      */
  223.     private $file_05;
  224.     /**
  225.      * NOTE: This is not a mapped field of entity metadata, just a simple property.
  226.      *
  227.      * @Vich\UploadableField(mapping="part_file", fileNameProperty="file_05")
  228.      * @Assert\File(
  229.      *     maxSize = "10M",
  230.      *     maxSizeMessage = "El tamaño máximo permitido del archivo es {{ limit }} MB.",
  231.      * )
  232.      *
  233.      * @var File|null
  234.      */
  235.     private $file05File;
  236.     /**
  237.      * @ORM\Column(type="string", length=255, nullable=true)
  238.      * @Groups({"part"})
  239.      */
  240.     private $nominal_property_01;
  241.     /**
  242.      * @ORM\Column(type="string", length=255, nullable=true)
  243.      * @Groups({"part"})
  244.      */
  245.     private $tolerance_property_01;
  246.     /**
  247.      * @ORM\Column(type="string", length=255, nullable=true)
  248.      * @Groups({"part"})
  249.      */
  250.     private $nominal_property_02;
  251.     /**
  252.      * @ORM\Column(type="string", length=255, nullable=true)
  253.      * @Groups({"part"})
  254.      */
  255.     private $tolerance_property_02;
  256.     /**
  257.      * @ORM\Column(type="string", length=255, nullable=true)
  258.      * @Groups({"part"})
  259.      */
  260.     private $nominal_property_03;
  261.     /**
  262.      * @ORM\Column(type="string", length=255, nullable=true)
  263.      * @Groups({"part"})
  264.      */
  265.     private $tolerance_property_03;
  266.     /**
  267.      * @ORM\Column(type="string", length=255, nullable=true)
  268.      * @Groups({"part"})
  269.      */
  270.     private $nominal_fab_param_01;
  271.     /**
  272.      * @ORM\Column(type="string", length=255, nullable=true)
  273.      * @Groups({"part"})
  274.      */
  275.     private $tolerance_fab_param_01;
  276.     /**
  277.      * @ORM\Column(type="string", length=255, nullable=true)
  278.      * @Groups({"part"})
  279.      */
  280.     private $nominal_fab_param_02;
  281.     /**
  282.      * @ORM\Column(type="string", length=255, nullable=true)
  283.      * @Groups({"part"})
  284.      */
  285.     private $tolerance_fab_param_02;
  286.     /**
  287.      * @ORM\Column(type="datetime", nullable=true)
  288.      * @Groups({"part"})
  289.      */
  290.     private $created_at;
  291.     /**
  292.      * @ORM\Column(type="datetime", nullable=true)
  293.      * @Groups({"part"})
  294.      */
  295.     private $updated_at;
  296.     /**
  297.      * @ORM\ManyToOne(targetEntity=Company::class, inversedBy="parts")
  298.      * @ORM\JoinColumn(nullable=false)
  299.      * @Assert\NotBlank
  300.      */
  301.     private $company;
  302.     /**
  303.      * @ORM\ManyToMany(targetEntity=Library::class, inversedBy="parts")
  304.      */
  305.     private $libraries;
  306.     /**
  307.      * @ORM\OneToMany(targetEntity=Order::class, mappedBy="part", orphanRemoval=true)
  308.      */
  309.     private $orders;
  310.     /**
  311.      * @ORM\Column(type="string", length=14)
  312.      * @Groups({"part"})
  313.      */
  314.     private $ref;
  315.     /**
  316.      * @ORM\Column(type="integer", nullable=true)
  317.      * @Groups({"part"})
  318.      */
  319.     private $version;
  320.     /**
  321.      * @ORM\Column(type="string", length=50, nullable=true)
  322.      * @Groups({"part"})
  323.      */
  324.     private $autor;
  325.     /**
  326.      * @ORM\Column(type="string", length=100, nullable=true)
  327.      * @Groups({"part"})
  328.      */
  329.     private $equipo;
  330.     /**
  331.      * @ORM\Column(type="string", nullable=true)
  332.      * @Groups({"part"})
  333.      */
  334.     private $altura_capa;
  335.     /**
  336.      * @ORM\Column(type="string", nullable=true)
  337.      * @Groups({"part"})
  338.      */
  339.     private $diam_boquilla;
  340.     /**
  341.      * @ORM\Column(type="string", nullable=true)
  342.      * @Groups({"part"})
  343.      */
  344.     private $tmp_boquilla;
  345.     /**
  346.      * @ORM\Column(type="string", nullable=true)
  347.      * @Groups({"part"})
  348.      */
  349.     private $tmp_cama;
  350.     /**
  351.      * @ORM\Column(type="string", nullable=true)
  352.      * @Groups({"part"})
  353.      */
  354.     private $tmp_camara;
  355.     /**
  356.      * @ORM\Column(type="string", nullable=true)
  357.      * @Groups({"part"})
  358.      */
  359.     private $velocidad_impresion;
  360.     /**
  361.      * @ORM\Column(type="string", length=100, nullable=true)
  362.      * @Groups({"part"})
  363.      */
  364.     private $perimetro_relleno;
  365.     /**
  366.      * @ORM\Column(type="string", length=100, nullable=true)
  367.      * @Groups({"part"})
  368.      */
  369.     private $soportes;
  370.     /**
  371.      * @ORM\Column(type="string", length=510, nullable=true)
  372.      * @Groups({"part"})
  373.      */
  374.     private $observaciones_fab;
  375.     /**
  376.      * @ORM\Column(type="string", nullable=true)
  377.      * @Groups({"part"})
  378.      */
  379.     private $punto_laser;
  380.     /**
  381.      * @ORM\Column(type="string", nullable=true)
  382.      * @Groups({"part"})
  383.      */
  384.     private $potencia_fuente;
  385.     /**
  386.      * @ORM\Column(type="string", nullable=true)
  387.      * @Groups({"part"})
  388.      */
  389.     private $tam_pixel;
  390.     /**
  391.      * @ORM\Column(type="string", nullable=true)
  392.      * @Groups({"part"})
  393.      */
  394.     private $tiempo_expos;
  395.     /**
  396.      * @ORM\Column(type="string", nullable=true)
  397.      * @Groups({"part"})
  398.      */
  399.     private $distan_hatch;
  400.     /**
  401.      * @ORM\Column(type="string", nullable=true)
  402.      * @Groups({"part"})
  403.      */
  404.     private $velocidad_recoater;
  405.     /**
  406.      * @ORM\Column(type="string", nullable=true)
  407.      * @Groups({"part"})
  408.      */
  409.     private $enfriamiento;
  410.     /**
  411.      * @ORM\Column(type="string", length=100, nullable=true)
  412.      * @Groups({"part"})
  413.      */
  414.     private $atmosfera;
  415.     /**
  416.      * @ORM\Column(type="string", nullable=true)
  417.      * @Groups({"part"})
  418.      */
  419.     private $saturacion;
  420.     /**
  421.      * @ORM\Column(type="boolean", nullable=true)
  422.      * @Groups({"part"})
  423.      */
  424.     private $locked;
  425.     /**
  426.      * @ORM\Column(type="datetime", nullable=true)
  427.      * @Groups({"part"})
  428.      */
  429.     private $locked_at;
  430.     /**
  431.      * @ORM\ManyToOne(targetEntity=User::class)
  432.      * @Groups({"part"})
  433.      */
  434.     private $locked_user;
  435.     /**
  436.      * @ORM\Column(type="string", length=255, nullable=true)
  437.      */
  438.     private $print_mode;
  439.     /**
  440.      * @ORM\Column(type="string", length=255, nullable=true)
  441.      */
  442.     private $bulk_import_file;
  443.     /**
  444.      * @ORM\ManyToOne(targetEntity=Equipment::class)
  445.      */
  446.     private $equipment_id;
  447.     /**
  448.      * @ORM\ManyToOne(targetEntity=Material::class)
  449.      */
  450.     private $material_id;
  451.     /**
  452.      * @ORM\Column(type="string", length=50, nullable=true)
  453.      */
  454.     private $altura_capa_tol;
  455.     /**
  456.      * @ORM\Column(type="string", length=50, nullable=true)
  457.      */
  458.     private $diam_boquilla_tol;
  459.     /**
  460.      * @ORM\Column(type="string", length=50, nullable=true)
  461.      */
  462.     private $tmp_boquilla_tol;
  463.     /**
  464.      * @ORM\Column(type="string", length=50, nullable=true)
  465.      */
  466.     private $tmp_cama_tol;
  467.     /**
  468.      * @ORM\Column(type="string", length=50, nullable=true)
  469.      */
  470.     private $tmp_camara_tol;
  471.     /**
  472.      * @ORM\Column(type="string", length=50, nullable=true)
  473.      */
  474.     private $velocidad_impresion_tol;
  475.     /**
  476.      * @ORM\Column(type="string", length=50, nullable=true)
  477.      */
  478.     private $velocidad_recoater_tol;
  479.     /**
  480.      * @ORM\Column(type="string", length=50, nullable=true)
  481.      */
  482.     private $punto_laser_tol;
  483.     /**
  484.      * @ORM\Column(type="string", length=50, nullable=true)
  485.      */
  486.     private $potencia_fuente_tol;
  487.     /**
  488.      * @ORM\Column(type="string", length=50, nullable=true)
  489.      */
  490.     private $tam_pixel_tol;
  491.     /**
  492.      * @ORM\Column(type="string", length=50, nullable=true)
  493.      */
  494.     private $tiempo_expos_tol;
  495.     /**
  496.      * @ORM\Column(type="string", length=50, nullable=true)
  497.      */
  498.     private $distan_hatch_tol;
  499.     /**
  500.      * @ORM\Column(type="string", length=100, nullable=true)
  501.      */
  502.     private $applicable_regulations;
  503.     /**
  504.      * @ORM\Column(type="string", length=510, nullable=true)
  505.      * @Groups({"part"})
  506.      */
  507.     private $fileOthers;
  508.     /**
  509.      * @ORM\ManyToOne(targetEntity=CompanyClient::class, inversedBy="parts")
  510.      * @ORM\JoinColumn(onDelete="SET NULL")
  511.      */
  512.     private $company_client;
  513.     /**
  514.      * @ORM\Column(type="string", length=255, nullable=true)
  515.      */
  516.     private $file_preview;
  517.     /**
  518.      * @ORM\Column(type="text", length=255, nullable=true)
  519.      */
  520.     private $data;
  521.     public function __construct()
  522.     {
  523.         $this->created_at = new \DateTime();
  524.         $this->markAsUpdated();
  525.         $this->libraries = new ArrayCollection();
  526.         $this->orders = new ArrayCollection();
  527.     }
  528.     // Registra el método mágico para imprimir el nombre del estado, por ejemplo, California
  529.     public function __toString() {
  530.         return $this->name;
  531.     }
  532.     public function getId(): ?int
  533.     {
  534.         return $this->id;
  535.     }
  536.     public function setId(?int $id): self
  537.     {
  538.         $this->id $id;
  539.         return $this;
  540.     }
  541.     public function getName(): ?string
  542.     {
  543.         return $this->name;
  544.     }
  545.     public function setName(string $name): self
  546.     {
  547.         $this->name $name;
  548.         return $this;
  549.     }
  550.     public function getSerial(): ?string
  551.     {
  552.         return $this->serial;
  553.     }
  554.     public function setSerial(?string $serial): self
  555.     {
  556.         $this->serial $serial;
  557.         return $this;
  558.     }
  559.     public function getPartNumber(): ?string
  560.     {
  561.         return $this->part_number;
  562.     }
  563.     public function setPartNumber(?string $part_number): self
  564.     {
  565.         $this->part_number $part_number;
  566.         return $this;
  567.     }
  568.     public function getDescription(): ?string
  569.     {
  570.         return $this->description;
  571.     }
  572.     public function setDescription(?string $description): self
  573.     {
  574.         $this->description $description;
  575.         return $this;
  576.     }
  577.     public function getRev(): ?string
  578.     {
  579.         return $this->rev;
  580.     }
  581.     public function setRev(?string $rev): self
  582.     {
  583.         $this->rev $rev;
  584.         return $this;
  585.     }
  586.     public function getAltPart(): ?string
  587.     {
  588.         return $this->alt_part;
  589.     }
  590.     public function setAltPart(?string $alt_part): self
  591.     {
  592.         $this->alt_part $alt_part;
  593.         return $this;
  594.     }
  595.     public function getMaterial(): ?string
  596.     {
  597.         return $this->material;
  598.     }
  599.     public function setMaterial(?string $material): self
  600.     {
  601.         $this->material $material;
  602.         return $this;
  603.     }
  604.     public function getFilename(): ?string
  605.     {
  606.         if (strpos('.packaged',$this->filename) !== false) {
  607.             return "images/lock.png";
  608.         }
  609.         return $this->filename;
  610.     }
  611.     public function setFilename(?string $filename): self
  612.     {
  613.         $this->filename $filename;
  614.         return $this;
  615.     }
  616.     public function getHistory(): ?string
  617.     {
  618.         return $this->history;
  619.     }
  620.     public function setHistory(?string $history): self
  621.     {
  622.         $this->history $history;
  623.         return $this;
  624.     }
  625.     public function getNotes(): ?string
  626.     {
  627.         return $this->notes;
  628.     }
  629.     public function setNotes(?string $notes): self
  630.     {
  631.         $this->notes $notes;
  632.         return $this;
  633.     }
  634.     public function getTechnology(): ?string
  635.     {
  636.         return $this->technology;
  637.     }
  638.     public function setTechnology(?string $technology): self
  639.     {
  640.         $this->technology $technology;
  641.         return $this;
  642.     }
  643.     public function getClientName(): ?string
  644.     {
  645.         return $this->client_name;
  646.     }
  647.     public function setClientName(?string $client_name): self
  648.     {
  649.         $this->client_name $client_name;
  650.         return $this;
  651.     }
  652.     public function getClientRefPart(): ?string
  653.     {
  654.         return $this->client_ref_part;
  655.     }
  656.     public function setClientRefPart(?string $client_ref_part): self
  657.     {
  658.         $this->client_ref_part $client_ref_part;
  659.         return $this;
  660.     }
  661.     public function getSupplier(): ?Supplier
  662.     {
  663.         return $this->supplier;
  664.     }
  665.     public function setSupplier(?Supplier $supplier): self
  666.     {
  667.         $this->supplier $supplier;
  668.         return $this;
  669.     }
  670.     public function getFileCad(): ?string
  671.     {
  672.         return $this->file_cad;
  673.     }
  674.     public function setFileCad(?string $file_cad): self
  675.     {
  676.         $this->file_cad $file_cad;
  677.         return $this;
  678.     }
  679.     public function getFileStl(): ?string
  680.     {
  681.         return $this->file_stl;
  682.     }
  683.     public function setFileStl(?string $file_stl): self
  684.     {
  685.         $this->file_stl $file_stl;
  686.         return $this;
  687.     }
  688.     public function getFile2d(): ?string
  689.     {
  690.         return $this->file_2d;
  691.     }
  692.     public function setFile2d(?string $file_2d): self
  693.     {
  694.         $this->file_2d $file_2d;
  695.         return $this;
  696.     }
  697.     public function getFileFab(): ?string
  698.     {
  699.         return $this->file_fab;
  700.     }
  701.     public function setFileFab(?string $file_fab): self
  702.     {
  703.         $this->file_fab $file_fab;
  704.         return $this;
  705.     }
  706.     public function getFileVerif(): ?string
  707.     {
  708.         return $this->file_verif;
  709.     }
  710.     public function setFileVerif(?string $file_verif): self
  711.     {
  712.         $this->file_verif $file_verif;
  713.         return $this;
  714.     }
  715.     /**
  716.      * If manually uploading a file (i.e. not using Symfony Form) ensure an instance
  717.      * of 'UploadedFile' is injected into this setter to trigger the update. If this
  718.      * bundle's configuration parameter 'inject_on_load' is set to 'true' this setter
  719.      * must be able to accept an instance of 'File' as the bundle will inject one here
  720.      * during Doctrine hydration.
  721.      *
  722.      * @param File|\Symfony\Component\HttpFoundation\File\UploadedFile|null $imageFile
  723.      */
  724.     public function setFile01File(?File $file01File null): void
  725.     {
  726.         $this->file01File $file01File;
  727.         if (null !== $file01File) {
  728.             // It is required that at least one field changes if you are using doctrine
  729.             // otherwise the event listeners won't be called and the file is lost
  730.             $this->markAsUpdated();
  731.         }
  732.     }
  733.     public function getFile01File(): ?File
  734.     {
  735.         return $this->file01File;
  736.     }
  737.     public function getFile01(): ?string
  738.     {
  739.         return $this->file_01;
  740.     }
  741.     public function setFile01(?string $file_01): self
  742.     {
  743.         $this->file_01 $file_01;
  744.         return $this;
  745.     }
  746.     /**
  747.      * If manually uploading a file (i.e. not using Symfony Form) ensure an instance
  748.      * of 'UploadedFile' is injected into this setter to trigger the update. If this
  749.      * bundle's configuration parameter 'inject_on_load' is set to 'true' this setter
  750.      * must be able to accept an instance of 'File' as the bundle will inject one here
  751.      * during Doctrine hydration.
  752.      *
  753.      * @param File|\Symfony\Component\HttpFoundation\File\UploadedFile|null $imageFile
  754.      */
  755.     public function setFile02File(?File $file02File null): void
  756.     {
  757.         $this->file02File $file02File;
  758.         if (null !== $file02File) {
  759.             // It is required that at least one field changes if you are using doctrine
  760.             // otherwise the event listeners won't be called and the file is lost
  761.             $this->markAsUpdated();
  762.         }
  763.     }
  764.     public function getFile02File(): ?File
  765.     {
  766.         return $this->file02File;
  767.     }
  768.     public function getFile02(): ?string
  769.     {
  770.         return $this->file_02;
  771.     }
  772.     public function setFile02(?string $file_02): self
  773.     {
  774.         $this->file_02 $file_02;
  775.         return $this;
  776.     }
  777.     /**
  778.      * If manually uploading a file (i.e. not using Symfony Form) ensure an instance
  779.      * of 'UploadedFile' is injected into this setter to trigger the update. If this
  780.      * bundle's configuration parameter 'inject_on_load' is set to 'true' this setter
  781.      * must be able to accept an instance of 'File' as the bundle will inject one here
  782.      * during Doctrine hydration.
  783.      *
  784.      * @param File|\Symfony\Component\HttpFoundation\File\UploadedFile|null $imageFile
  785.      */
  786.     public function setFile03File(?File $file03File null): void
  787.     {
  788.         $this->file03File $file03File;
  789.         if (null !== $file03File) {
  790.             // It is required that at least one field changes if you are using doctrine
  791.             // otherwise the event listeners won't be called and the file is lost
  792.             $this->markAsUpdated();
  793.         }
  794.     }
  795.     public function getFile03File(): ?File
  796.     {
  797.         return $this->file03File;
  798.     }
  799.     public function getFile03(): ?string
  800.     {
  801.         return $this->file_03;
  802.     }
  803.     public function setFile03(?string $file_03): self
  804.     {
  805.         $this->file_03 $file_03;
  806.         return $this;
  807.     }
  808.     /**
  809.      * If manually uploading a file (i.e. not using Symfony Form) ensure an instance
  810.      * of 'UploadedFile' is injected into this setter to trigger the update. If this
  811.      * bundle's configuration parameter 'inject_on_load' is set to 'true' this setter
  812.      * must be able to accept an instance of 'File' as the bundle will inject one here
  813.      * during Doctrine hydration.
  814.      *
  815.      * @param File|\Symfony\Component\HttpFoundation\File\UploadedFile|null $imageFile
  816.      */
  817.     public function setFile04File(?File $file04File null): void
  818.     {
  819.         $this->file04File $file04File;
  820.         if (null !== $file04File) {
  821.             // It is required that at least one field changes if you are using doctrine
  822.             // otherwise the event listeners won't be called and the file is lost
  823.             $this->markAsUpdated();
  824.         }
  825.     }
  826.     public function getFile04File(): ?File
  827.     {
  828.         return $this->file04File;
  829.     }
  830.     public function getFile04(): ?string
  831.     {
  832.         return $this->file_04;
  833.     }
  834.     public function setFile04(?string $file_04): self
  835.     {
  836.         $this->file_04 $file_04;
  837.         return $this;
  838.     }
  839.     /**
  840.      * If manually uploading a file (i.e. not using Symfony Form) ensure an instance
  841.      * of 'UploadedFile' is injected into this setter to trigger the update. If this
  842.      * bundle's configuration parameter 'inject_on_load' is set to 'true' this setter
  843.      * must be able to accept an instance of 'File' as the bundle will inject one here
  844.      * during Doctrine hydration.
  845.      *
  846.      * @param File|\Symfony\Component\HttpFoundation\File\UploadedFile|null $imageFile
  847.      */
  848.     public function setFile05File(?File $file05File null): void
  849.     {
  850.         $this->file05File $file05File;
  851.         if (null !== $file05File) {
  852.             // It is required that at least one field changes if you are using doctrine
  853.             // otherwise the event listeners won't be called and the file is lost
  854.             $this->markAsUpdated();
  855.         }
  856.     }
  857.     public function getFile05File(): ?File
  858.     {
  859.         return $this->file05File;
  860.     }
  861.     public function getFile05(): ?string
  862.     {
  863.         return $this->file_05;
  864.     }
  865.     public function setFile05(?string $file_05): self
  866.     {
  867.         $this->file_05 $file_05;
  868.         return $this;
  869.     }
  870.     public function getNominalProperty01(): ?string
  871.     {
  872.         return $this->nominal_property_01;
  873.     }
  874.     public function setNominalProperty01(?string $nominal_property_01): self
  875.     {
  876.         $this->nominal_property_01 $nominal_property_01;
  877.         return $this;
  878.     }
  879.     public function getToleranceProperty01(): ?string
  880.     {
  881.         return $this->tolerance_property_01;
  882.     }
  883.     public function setToleranceProperty01(?string $tolerance_property_01): self
  884.     {
  885.         $this->tolerance_property_01 $tolerance_property_01;
  886.         return $this;
  887.     }
  888.     public function getNominalProperty02(): ?string
  889.     {
  890.         return $this->nominal_property_02;
  891.     }
  892.     public function setNominalProperty02(?string $nominal_property_02): self
  893.     {
  894.         $this->nominal_property_02 $nominal_property_02;
  895.         return $this;
  896.     }
  897.     public function getToleranceProperty02(): ?string
  898.     {
  899.         return $this->tolerance_property_02;
  900.     }
  901.     public function setToleranceProperty02(?string $tolerance_property_02): self
  902.     {
  903.         $this->tolerance_property_02 $tolerance_property_02;
  904.         return $this;
  905.     }
  906.     public function getNominalProperty03(): ?string
  907.     {
  908.         return $this->nominal_property_03;
  909.     }
  910.     public function setNominalProperty03(?string $nominal_property_03): self
  911.     {
  912.         $this->nominal_property_03 $nominal_property_03;
  913.         return $this;
  914.     }
  915.     public function getToleranceProperty03(): ?string
  916.     {
  917.         return $this->tolerance_property_03;
  918.     }
  919.     public function setToleranceProperty03(?string $tolerance_property_03): self
  920.     {
  921.         $this->tolerance_property_03 $tolerance_property_03;
  922.         return $this;
  923.     }
  924.     public function getNominalFabParam01(): ?string
  925.     {
  926.         return $this->nominal_fab_param_01;
  927.     }
  928.     public function setNominalFabParam01(?string $nominal_fab_param_01): self
  929.     {
  930.         $this->nominal_fab_param_01 $nominal_fab_param_01;
  931.         return $this;
  932.     }
  933.     public function getToleranceFabParam01(): ?string
  934.     {
  935.         return $this->tolerance_fab_param_01;
  936.     }
  937.     public function setToleranceFabParam01(?string $tolerance_fab_param_01): self
  938.     {
  939.         $this->tolerance_fab_param_01 $tolerance_fab_param_01;
  940.         return $this;
  941.     }
  942.     public function getNominalFabParam02(): ?string
  943.     {
  944.         return $this->nominal_fab_param_02;
  945.     }
  946.     public function setNominalFabParam02(?string $nominal_fab_param_02): self
  947.     {
  948.         $this->nominal_fab_param_02 $nominal_fab_param_02;
  949.         return $this;
  950.     }
  951.     public function getToleranceFabParam02(): ?string
  952.     {
  953.         return $this->tolerance_fab_param_02;
  954.     }
  955.     public function setToleranceFabParam02(?string $tolerance_fab_param_02): self
  956.     {
  957.         $this->tolerance_fab_param_02 $tolerance_fab_param_02;
  958.         return $this;
  959.     }
  960.     public function getCreatedAt(): ?\DateTimeInterface
  961.     {
  962.         return $this->created_at;
  963.     }
  964.     /**
  965.      * Set the value of createdAt
  966.      *
  967.      * @param \DateTime $createdAt
  968.      */
  969.     public function markAsCreatedAt() : void
  970.     {
  971.         $this->created_at = new \DateTime();
  972.     }
  973.     public function getUpdatedAt(): ?\DateTimeInterface
  974.     {
  975.         return $this->updated_at;
  976.     }
  977.     /**
  978.      * Set the value of updatedAt
  979.      *
  980.      * @param \DateTime $updatedAt
  981.      */
  982.     public function markAsUpdated() : void
  983.     {
  984.         $this->updated_at = new \DateTime();
  985.     }
  986.     public function getCompany(): ?Company
  987.     {
  988.         return $this->company;
  989.     }
  990.     public function setCompany(?Company $company): self
  991.     {
  992.         $this->company $company;
  993.         return $this;
  994.     }
  995.     /**
  996.      * @return Collection|Library[]
  997.      */
  998.     public function getLibraries(): Collection
  999.     {
  1000.         return $this->libraries;
  1001.     }
  1002.     public function addLibrary(Library $library): self
  1003.     {
  1004.         if (!$this->libraries->contains($library)) {
  1005.             $this->libraries[] = $library;
  1006.         }
  1007.         return $this;
  1008.     }
  1009.     public function removeLibrary(Library $library): self
  1010.     {
  1011.         $this->libraries->removeElement($library);
  1012.         return $this;
  1013.     }
  1014.     /**
  1015.      * @return Collection|Order[]
  1016.      */
  1017.     public function getOrders(): Collection
  1018.     {
  1019.         return $this->orders;
  1020.     }
  1021.     public function addOrder(Order $order): self
  1022.     {
  1023.         if (!$this->orders->contains($order)) {
  1024.             $this->orders[] = $order;
  1025.             $order->setPart($this);
  1026.         }
  1027.         return $this;
  1028.     }
  1029.     public function removeOrder(Order $order): self
  1030.     {
  1031.         if ($this->orders->removeElement($order)) {
  1032.             // set the owning side to null (unless already changed)
  1033.             if ($order->getPart() === $this) {
  1034.                 $order->setPart(null);
  1035.             }
  1036.         }
  1037.         return $this;
  1038.     }
  1039.     public function getRef(): ?string
  1040.     {
  1041.         return $this->ref;
  1042.     }
  1043.     public function setRef(string $ref): self
  1044.     {
  1045.         $splits explode("-"$ref);
  1046.         $splits[1]++;
  1047.         $splits[1] = str_pad$splits[1], 5"0"STR_PAD_LEFT);
  1048.         $splits[2] = "001";
  1049.         $ref implode("-"$splits);
  1050.         $this->ref $ref;
  1051.         return $this;
  1052.     }
  1053.     public function setEditRef(string $ref): self
  1054.     {
  1055.         $this->ref $ref;
  1056.         return $this;
  1057.     }
  1058.     public function getVersion(): ?int
  1059.     {
  1060.         return $this->version;
  1061.     }
  1062.     public function setVersion(?int $version): self
  1063.     {
  1064.         $this->version $version;
  1065.         return $this;
  1066.     }
  1067.     public function getAutor(): ?string
  1068.     {
  1069.         return $this->autor;
  1070.     }
  1071.     public function setAutor(?string $autor): self
  1072.     {
  1073.         $this->autor $autor;
  1074.         return $this;
  1075.     }
  1076.     /**
  1077.      * @return mixed
  1078.      */
  1079.     public function getEquipo(): ?string
  1080.     {
  1081.         return $this->equipo;
  1082.     }
  1083.     /**
  1084.      * @param mixed $equipo
  1085.      */
  1086.     public function setEquipo(?string $equipo): self
  1087.     {
  1088.         $this->equipo $equipo;
  1089.         return $this;
  1090.     }
  1091.     /**
  1092.      * @return mixed
  1093.      */
  1094.     public function getAlturaCapa(): ?string
  1095.     {
  1096.         return $this->altura_capa;
  1097.     }
  1098.     /**
  1099.      * @param mixed $altura_capa
  1100.      */
  1101.     public function setAlturaCapa(?string $altura_capa): self
  1102.     {
  1103.         $this->altura_capa $altura_capa;
  1104.         return $this;
  1105.     }
  1106.     /**
  1107.      * @return mixed
  1108.      */
  1109.     public function getDiamBoquilla(): ?string
  1110.     {
  1111.         return $this->diam_boquilla;
  1112.     }
  1113.     /**
  1114.      * @param mixed $diam_boquilla
  1115.      */
  1116.     public function setDiamBoquilla(?string $diam_boquilla): self
  1117.     {
  1118.         $this->diam_boquilla $diam_boquilla;
  1119.         return $this;
  1120.     }
  1121.     /**
  1122.      * @return mixed
  1123.      */
  1124.     public function getTmpBoquilla(): ?string
  1125.     {
  1126.         return $this->tmp_boquilla;
  1127.     }
  1128.     /**
  1129.      * @param mixed $tmp_boquilla
  1130.      */
  1131.     public function setTmpBoquilla(?string $tmp_boquilla): self
  1132.     {
  1133.         $this->tmp_boquilla $tmp_boquilla;
  1134.         return $this;
  1135.     }
  1136.     /**
  1137.      * @return mixed
  1138.      */
  1139.     public function getTmpCama(): ?string
  1140.     {
  1141.         return $this->tmp_cama;
  1142.     }
  1143.     /**
  1144.      * @param mixed $tmp_cama
  1145.      */
  1146.     public function setTmpCama(?string $tmp_cama): self
  1147.     {
  1148.         $this->tmp_cama $tmp_cama;
  1149.         return $this;
  1150.     }
  1151.     /**
  1152.      * @return mixed
  1153.      */
  1154.     public function getTmpCamara(): ?string
  1155.     {
  1156.         return $this->tmp_camara;
  1157.     }
  1158.     /**
  1159.      * @param mixed $tmp_camara
  1160.      */
  1161.     public function setTmpCamara(?string $tmp_camara): self
  1162.     {
  1163.         $this->tmp_camara $tmp_camara;
  1164.         return $this;
  1165.     }
  1166.     /**
  1167.      * @return mixed
  1168.      */
  1169.     public function getVelocidadImpresion(): ?string
  1170.     {
  1171.         return $this->velocidad_impresion;
  1172.     }
  1173.     /**
  1174.      * @param mixed $velocidad_impresion
  1175.      */
  1176.     public function setVelocidadImpresion(?string $velocidad_impresion): self
  1177.     {
  1178.         $this->velocidad_impresion $velocidad_impresion;
  1179.         return $this;
  1180.     }
  1181.     /**
  1182.      * @return mixed
  1183.      */
  1184.     public function getPerimetroRelleno(): ?string
  1185.     {
  1186.         return $this->perimetro_relleno;
  1187.     }
  1188.     /**
  1189.      * @param mixed $perimetro_relleno
  1190.      */
  1191.     public function setPerimetroRelleno(?string $perimetro_relleno): self
  1192.     {
  1193.         $this->perimetro_relleno $perimetro_relleno;
  1194.         return $this;
  1195.     }
  1196.     /**
  1197.      * @return mixed
  1198.      */
  1199.     public function getSoportes(): ?string
  1200.     {
  1201.         return $this->soportes;
  1202.     }
  1203.     /**
  1204.      * @param mixed $soportes
  1205.      */
  1206.     public function setSoportes(?string $soportes): self
  1207.     {
  1208.         $this->soportes $soportes;
  1209.         return $this;
  1210.     }
  1211.     /**
  1212.      * @return mixed
  1213.      */
  1214.     public function getObservacionesFab(): ?string
  1215.     {
  1216.         return $this->observaciones_fab;
  1217.     }
  1218.     /**
  1219.      * @param mixed $observaciones_fab
  1220.      */
  1221.     public function setObservacionesFab(?string $observaciones_fab): self
  1222.     {
  1223.         $this->observaciones_fab $observaciones_fab;
  1224.         return $this;
  1225.     }
  1226.     /**
  1227.      * @return mixed
  1228.      */
  1229.     public function getPuntoLaser(): ?string
  1230.     {
  1231.         return $this->punto_laser;
  1232.     }
  1233.     /**
  1234.      * @param mixed $punto_laser
  1235.      */
  1236.     public function setPuntoLaser(?string $punto_laser): self
  1237.     {
  1238.         $this->punto_laser $punto_laser;
  1239.         return $this;
  1240.     }
  1241.     /**
  1242.      * @return mixed
  1243.      */
  1244.     public function getPotenciaFuente(): ?string
  1245.     {
  1246.         return $this->potencia_fuente;
  1247.     }
  1248.     /**
  1249.      * @param mixed $potencia_fuente
  1250.      */
  1251.     public function setPotenciaFuente(?string $potencia_fuente): self
  1252.     {
  1253.         $this->potencia_fuente $potencia_fuente;
  1254.         return $this;
  1255.     }
  1256.     /**
  1257.      * @return mixed
  1258.      */
  1259.     public function getTamPixel(): ?string
  1260.     {
  1261.         return $this->tam_pixel;
  1262.     }
  1263.     /**
  1264.      * @param mixed $tam_pixel
  1265.      */
  1266.     public function setTamPixel(?string $tam_pixel): self
  1267.     {
  1268.         $this->tam_pixel $tam_pixel;
  1269.         return $this;
  1270.     }
  1271.     /**
  1272.      * @return mixed
  1273.      */
  1274.     public function getTiempoExpos(): ?string
  1275.     {
  1276.         return $this->tiempo_expos;
  1277.     }
  1278.     /**
  1279.      * @param mixed $tiempo_expos
  1280.      */
  1281.     public function setTiempoExpos(?string $tiempo_expos): self
  1282.     {
  1283.         $this->tiempo_expos $tiempo_expos;
  1284.         return $this;
  1285.     }
  1286.     /**
  1287.      * @return mixed
  1288.      */
  1289.     public function getDistanHatch(): ?string
  1290.     {
  1291.         return $this->distan_hatch;
  1292.     }
  1293.     /**
  1294.      * @param mixed $distan_hatch
  1295.      */
  1296.     public function setDistanHatch(?string $distan_hatch): self
  1297.     {
  1298.         $this->distan_hatch $distan_hatch;
  1299.         return $this;
  1300.     }
  1301.     /**
  1302.      * @return mixed
  1303.      */
  1304.     public function getVelocidadRecoater(): ?string
  1305.     {
  1306.         return $this->velocidad_recoater;
  1307.     }
  1308.     /**
  1309.      * @param mixed $velocidad_recoater
  1310.      */
  1311.     public function setVelocidadRecoater(?string $velocidad_recoater): self
  1312.     {
  1313.         $this->velocidad_recoater $velocidad_recoater;
  1314.         return $this;
  1315.     }
  1316.     /**
  1317.      * @return mixed
  1318.      */
  1319.     public function getEnfriamiento(): ?string
  1320.     {
  1321.         return $this->enfriamiento;
  1322.     }
  1323.     /**
  1324.      * @param mixed $enfriamiento
  1325.      */
  1326.     public function setEnfriamiento(?string $enfriamiento): self
  1327.     {
  1328.         $this->enfriamiento $enfriamiento;
  1329.         return $this;
  1330.     }
  1331.     /**
  1332.      * @return mixed
  1333.      */
  1334.     public function getAtmosfera(): ?string
  1335.     {
  1336.         return $this->atmosfera;
  1337.     }
  1338.     /**
  1339.      * @param mixed $atmosfera
  1340.      */
  1341.     public function setAtmosfera(?string $atmosfera): self
  1342.     {
  1343.         $this->atmosfera $atmosfera;
  1344.         return $this;
  1345.     }
  1346.     /**
  1347.      * @return mixed
  1348.      */
  1349.     public function getSaturacion(): ?string
  1350.     {
  1351.         return $this->saturacion;
  1352.     }
  1353.     /**
  1354.      * @param mixed $saturacion
  1355.      */
  1356.     public function setSaturacion(?string $saturacion): self
  1357.     {
  1358.         $this->saturacion $saturacion;
  1359.         return $this;
  1360.     }
  1361.     public function getLocked(): ?bool
  1362.     {
  1363.         return $this->locked;
  1364.     }
  1365.     public function setLocked(?bool $locked): self
  1366.     {
  1367.         $this->locked $locked;
  1368.         return $this;
  1369.     }
  1370.     public function getLockedAt(): ?\DateTimeInterface
  1371.     {
  1372.         return $this->locked_at;
  1373.     }
  1374.     public function setLockedAt(?\DateTimeInterface $locked_at): self
  1375.     {
  1376.         $this->locked_at $locked_at;
  1377.         return $this;
  1378.     }
  1379.     public function getLockedUser(): ?User
  1380.     {
  1381.         return $this->locked_user;
  1382.     }
  1383.     public function setLockedUser(?User $locked_user): self
  1384.     {
  1385.         $this->locked_user $locked_user;
  1386.         return $this;
  1387.     }
  1388.     public function getPrintMode(): ?string
  1389.     {
  1390.         return $this->print_mode;
  1391.     }
  1392.     public function setPrintMode(?string $print_mode): self
  1393.     {
  1394.         $this->print_mode $print_mode;
  1395.         return $this;
  1396.     }
  1397.     public function getBulkImportFile(): ?string
  1398.     {
  1399.         return $this->bulk_import_file;
  1400.     }
  1401.     public function setBulkImportFile(?string $bulk_import_file): self
  1402.     {
  1403.         $this->bulk_import_file $bulk_import_file;
  1404.         return $this;
  1405.     }
  1406.     public function getEquipmentId(): ?Equipment
  1407.     {
  1408.         return $this->equipment_id;
  1409.     }
  1410.     public function setEquipmentId(?Equipment $equipment_id): self
  1411.     {
  1412.         $this->equipment_id $equipment_id;
  1413.         return $this;
  1414.     }
  1415.     public function getMaterialId(): ?Material
  1416.     {
  1417.         return $this->material_id;
  1418.     }
  1419.     public function setMaterialId(?Material $material_id): self
  1420.     {
  1421.         $this->material_id $material_id;
  1422.         return $this;
  1423.     }
  1424.     public function getAlturaCapaTol(): ?string
  1425.     {
  1426.         return $this->altura_capa_tol;
  1427.     }
  1428.     public function setAlturaCapaTol(?string $altura_capa_tol): self
  1429.     {
  1430.         $this->altura_capa_tol $altura_capa_tol;
  1431.         return $this;
  1432.     }
  1433.     public function getDiamBoquillaTol(): ?string
  1434.     {
  1435.         return $this->diam_boquilla_tol;
  1436.     }
  1437.     public function setDiamBoquillaTol(?string $diam_boquilla_tol): self
  1438.     {
  1439.         $this->diam_boquilla_tol $diam_boquilla_tol;
  1440.         return $this;
  1441.     }
  1442.     public function getTmpBoquillaTol(): ?string
  1443.     {
  1444.         return $this->tmp_boquilla_tol;
  1445.     }
  1446.     public function setTmpBoquillaTol(?string $tmp_boquilla_tol): self
  1447.     {
  1448.         $this->tmp_boquilla_tol $tmp_boquilla_tol;
  1449.         return $this;
  1450.     }
  1451.     public function getTmpCamaTol(): ?string
  1452.     {
  1453.         return $this->tmp_cama_tol;
  1454.     }
  1455.     public function setTmpCamaTol(?string $tmp_cama_tol): self
  1456.     {
  1457.         $this->tmp_cama_tol $tmp_cama_tol;
  1458.         return $this;
  1459.     }
  1460.     public function getTmpCamaraTol(): ?string
  1461.     {
  1462.         return $this->tmp_camara_tol;
  1463.     }
  1464.     public function setTmpCamaraTol(?string $tmp_camara_tol): self
  1465.     {
  1466.         $this->tmp_camara_tol $tmp_camara_tol;
  1467.         return $this;
  1468.     }
  1469.     public function getVelocidadImpresionTol(): ?string
  1470.     {
  1471.         return $this->velocidad_impresion_tol;
  1472.     }
  1473.     public function setVelocidadImpresionTol(?string $velocidad_impresion_tol): self
  1474.     {
  1475.         $this->velocidad_impresion_tol $velocidad_impresion_tol;
  1476.         return $this;
  1477.     }
  1478.     public function getVelocidadRecoaterTol(): ?string
  1479.     {
  1480.         return $this->velocidad_recoater_tol;
  1481.     }
  1482.     public function setVelocidadRecoaterTol(?string $velocidad_recoater_tol): self
  1483.     {
  1484.         $this->velocidad_recoater_tol $velocidad_recoater_tol;
  1485.         return $this;
  1486.     }
  1487.     public function getPuntoLaserTol(): ?string
  1488.     {
  1489.         return $this->punto_laser_tol;
  1490.     }
  1491.     public function setPuntoLaserTol(?string $punto_laser_tol): self
  1492.     {
  1493.         $this->punto_laser_tol $punto_laser_tol;
  1494.         return $this;
  1495.     }
  1496.     public function getPotenciaFuenteTol(): ?string
  1497.     {
  1498.         return $this->potencia_fuente_tol;
  1499.     }
  1500.     public function setPotenciaFuenteTol(?string $potencia_fuente_tol): self
  1501.     {
  1502.         $this->potencia_fuente_tol $potencia_fuente_tol;
  1503.         return $this;
  1504.     }
  1505.     public function getTamPixelTol(): ?string
  1506.     {
  1507.         return $this->tam_pixel_tol;
  1508.     }
  1509.     public function setTamPixelTol(?string $tam_pixel_tol): self
  1510.     {
  1511.         $this->tam_pixel_tol $tam_pixel_tol;
  1512.         return $this;
  1513.     }
  1514.     public function getTiempoExposTol(): ?string
  1515.     {
  1516.         return $this->tiempo_expos_tol;
  1517.     }
  1518.     public function setTiempoExposTol(?string $tiempo_expos_tol): self
  1519.     {
  1520.         $this->tiempo_expos_tol $tiempo_expos_tol;
  1521.         return $this;
  1522.     }
  1523.     public function getDistanHatchTol(): ?string
  1524.     {
  1525.         return $this->distan_hatch_tol;
  1526.     }
  1527.     public function setDistanHatchTol(?string $distan_hatch_tol): self
  1528.     {
  1529.         $this->distan_hatch_tol $distan_hatch_tol;
  1530.         return $this;
  1531.     }
  1532.     public function getCompMatPrima(): ?string
  1533.     {
  1534.         return $this->comp_mat_prima;
  1535.     }
  1536.     public function setCompMatPrima(?string $comp_mat_prima): self
  1537.     {
  1538.         $this->comp_mat_prima $comp_mat_prima;
  1539.         return $this;
  1540.     }
  1541.     public function getCertMatPrima(): ?string
  1542.     {
  1543.         return $this->cert_mat_prima;
  1544.     }
  1545.     public function setCertMatPrima(?string $cert_mat_prima): self
  1546.     {
  1547.         $this->cert_mat_prima $cert_mat_prima;
  1548.         return $this;
  1549.     }
  1550.     public function getColorMatPrima(): ?string
  1551.     {
  1552.         return $this->color_mat_prima;
  1553.     }
  1554.     public function setColorMatPrima(?string $color_mat_prima): self
  1555.     {
  1556.         $this->color_mat_prima $color_mat_prima;
  1557.         return $this;
  1558.     }
  1559.     public function getCertProceso(): ?string
  1560.     {
  1561.         return $this->cert_proceso;
  1562.     }
  1563.     public function setCertProceso(?string $cert_proceso): self
  1564.     {
  1565.         $this->cert_proceso $cert_proceso;
  1566.         return $this;
  1567.     }
  1568.     public function getCertPart(): ?bool
  1569.     {
  1570.         return $this->cert_part;
  1571.     }
  1572.     public function setCertPart(bool $cert_part): self
  1573.     {
  1574.         $this->cert_part $cert_part;
  1575.         return $this;
  1576.     }
  1577.     public function getProcAcabado(): ?string
  1578.     {
  1579.         return $this->proc_acabado;
  1580.     }
  1581.     public function setProcAcabado(?string $proc_acabado): self
  1582.     {
  1583.         $this->proc_acabado $proc_acabado;
  1584.         return $this;
  1585.     }
  1586.     public function getOtrosTrat(): ?string
  1587.     {
  1588.         return $this->otros_trat;
  1589.     }
  1590.     public function setOtrosTrat(?string $otros_trat): self
  1591.     {
  1592.         $this->otros_trat $otros_trat;
  1593.         return $this;
  1594.     }
  1595.     public function getObsVal(): ?string
  1596.     {
  1597.         return $this->obs_val;
  1598.     }
  1599.     public function setObsVal(?string $obs_val): self
  1600.     {
  1601.         $this->obs_val $obs_val;
  1602.         return $this;
  1603.     }
  1604.     public function getApplicableRegulations(): ?string
  1605.     {
  1606.         return $this->applicable_regulations;
  1607.     }
  1608.     public function setApplicableRegulations(?string $applicable_regulations): self
  1609.     {
  1610.         $this->applicable_regulations $applicable_regulations;
  1611.         return $this;
  1612.     }
  1613.     public function getFileOthers(): ?string
  1614.     {
  1615.         return $this->fileOthers;
  1616.     }
  1617.     public function setFileOthers(?string $fileOthers): self
  1618.     {
  1619.         $this->fileOthers $fileOthers;
  1620.         return $this;
  1621.     }
  1622.     public function getCompanyClient(): ?CompanyClient
  1623.     {
  1624.         return $this->company_client;
  1625.     }
  1626.     public function setCompanyClient(?CompanyClient $company_client): self
  1627.     {
  1628.         $this->company_client $company_client;
  1629.         return $this;
  1630.     }
  1631.     public function getFilePreview(): ?string
  1632.     {
  1633.         return $this->file_preview;
  1634.     }
  1635.     public function setFilePreview(?string $file_preview): self
  1636.     {
  1637.         $this->file_preview $file_preview;
  1638.         return $this;
  1639.     }
  1640.     /**
  1641.      * @return mixed
  1642.      */
  1643.     public function getData()
  1644.     {
  1645.         return $this->data;
  1646.     }
  1647.     /**
  1648.      * @param mixed $data
  1649.      */
  1650.     public function setData($data): void
  1651.     {
  1652.         $this->data $data;
  1653.     }
  1654. }