src/Entity/OperacionDetalle.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use DateTimeInterface;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. use JMS\Serializer\Annotation as JMS;
  7. /**
  8.  * @ORM\Entity(readOnly=true)
  9.  * @ORM\Table(name="operacion_detalle")
  10.  */
  11. class OperacionDetalle
  12. {
  13.     /**
  14.      * @ORM\Id
  15.      * @ORM\Column(type="string")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="bigint", name="operacion_id")
  20.      * @JMS\Groups({
  21.      *        "api_v1_operacion_serialize"
  22.      *   })
  23.      */
  24.     private $operacion;
  25.     /**
  26.      * @ORM\Column(type="string", name="tipo")
  27.      * @JMS\Groups({
  28.      *        "api_v1_operacion_serialize"
  29.      *   })
  30.      */
  31.     private $tipo;
  32.     /**
  33.      * @ORM\Column(type="string", name="IDperseo")
  34.      * @JMS\Groups({
  35.      *        "api_v1_operacion_serialize"
  36.      *   })
  37.      */
  38.     private $IDperseo;
  39.     /**
  40.      * @ORM\Column(type="datetime", name="fecha")
  41.      */
  42.     private $fecha;
  43.     /**
  44.      * @ORM\Column(type="bigint", name="valoracion_id")
  45.      */
  46.     private $valoracionOperacion;
  47.     /**
  48.      * @ORM\Column(type="string", name="valoracion_IDperseo")
  49.      */
  50.     private $valoracionIDperseo;
  51.     /**
  52.      * @ORM\Column(type="bigint", name="estado_id")
  53.      * @JMS\Groups({
  54.      *        "api_v1_operacion_serialize"
  55.      *   })
  56.      */
  57.     private $estado;
  58.     /**
  59.      * @ORM\Column(type="string", name="estado_key")
  60.      * @JMS\Groups({
  61.      *        "api_v1_operacion_serialize"
  62.      *   })
  63.      */
  64.     private $estadoKey;
  65.     /**
  66.      * @ORM\Column(type="string", name="estado_nombre")
  67.      * @JMS\Groups({
  68.      *        "api_v1_operacion_serialize"
  69.      *   })
  70.      */
  71.     private $estadoNombre;
  72.     /**
  73.      * @ORM\Column(type="datetime", name="estado_fecha")
  74.      * @JMS\Groups({
  75.      *        "api_v1_operacion_serialize"
  76.      *   })
  77.      */
  78.     private $estadoFecha;
  79.     /**
  80.      * @ORM\Column(type="bigint", name="cliente_id")
  81.      * @JMS\Groups({
  82.      *        "api_v1_operacion_serialize"
  83.      *   })
  84.      */
  85.     private $cliente;
  86.     /**
  87.      * @ORM\Column(type="string", name="cliente_razon_social")
  88.      * @JMS\Groups({
  89.      *        "api_v1_operacion_serialize"
  90.      *   })
  91.      */
  92.     private $clienteRazonSocial;
  93.     /**
  94.      * @ORM\Column(type="bigint", name="canal_id")
  95.      * @JMS\Groups({
  96.      *        "api_v1_operacion_serialize"
  97.      *   })
  98.      */
  99.     private $canal;
  100.     /**
  101.      * @ORM\Column(type="string", name="canal_nombre")
  102.      * @JMS\Groups({
  103.      *        "api_v1_operacion_serialize"
  104.      *   })
  105.      */
  106.     private $canalNombre;
  107.     /**
  108.      * @ORM\Column(type="bigint", name="usuario_id")
  109.      */
  110.     private $usuario;
  111.     /**
  112.      * @ORM\Column(type="string", name="usuario_IDperseo")
  113.      */
  114.     private $usuarioIDperseo;
  115.     /**
  116.      * @ORM\Column(type="bigint", name="user_id")
  117.      */
  118.     private $user;
  119.     /**
  120.      * @ORM\Column(type="string", name="user_username")
  121.      */
  122.     private $userUsername;
  123.     /**
  124.      * @ORM\Column(type="string", name="user_email")
  125.      */
  126.     private $userEmail;
  127.     /**
  128.      * @ORM\Column(type="string", name="user_nombre")
  129.      */
  130.     private $userNombre;
  131.     /**
  132.      * @ORM\Column(type="string", name="user_primer_apellido")
  133.      */
  134.     private $userPrimerApellido;
  135.     /**
  136.      * @ORM\Column(type="string", name="user_segundo_apellido")
  137.      */
  138.     private $userSegundoApellido;
  139.     /**
  140.      * @ORM\Column(type="string", name="fecha_tramitacion")
  141.      */
  142.     private $fechaTramitacion;
  143.     /**
  144.      * @ORM\Column(type="string", name="fecha_tramitada")
  145.      */
  146.     private $fechaTramitada;
  147.     /**
  148.      * @ORM\Column(type="string", name="fecha_confirmada")
  149.      */
  150.     private $fechaConfirmada;
  151.     /**
  152.      * @ORM\Column(type="string", name="fecha_cancelada")
  153.      */
  154.     private $fechaCancelada;
  155.     /**
  156.      * @ORM\Column(type="string", name="fecha_asentada")
  157.      */
  158.     private $fechaAsentada;
  159.     /**
  160.      * @ORM\Column(type="string", name="fecha_finalizada")
  161.      */
  162.     private $fechaFinalizada;
  163.     /**
  164.      * @ORM\Column(type="bigint", name="detalle_id")
  165.      */
  166.     private $detalle;
  167.     /**
  168.      * @ORM\Column(type="bigint", name="detalle_reloj_id")
  169.      * @JMS\Groups({
  170.      *        "api_v1_operacion_serialize"
  171.      *   })
  172.      */
  173.     private $detalleReloj;
  174.     /**
  175.      * @ORM\Column(type="string", name="detalle_reloj_IDperseo")
  176.      * @JMS\Groups({
  177.      *        "api_v1_operacion_serialize"
  178.      *   })
  179.      */
  180.     private $detalleRelojIDperseo;
  181.     /**
  182.      * @ORM\Column(type="string", name="detalle_reloj_codigo")
  183.      * @JMS\Groups({
  184.      *        "api_v1_operacion_serialize"
  185.      *   })
  186.      */
  187.     private $detalleRelojCodigo;
  188.     /**
  189.      * @ORM\Column(type="bigint", name="detalle_reloj_marca_id")
  190.      * @JMS\Groups({
  191.      *        "api_v1_operacion_serialize"
  192.      *   })
  193.      */
  194.     private $detalleRelojMarca;
  195.     /**
  196.      * @ORM\Column(type="string", name="detalle_reloj_marca_nombre")
  197.      * @JMS\Groups({
  198.      *        "api_v1_operacion_serialize"
  199.      *   })
  200.      */
  201.     private $detalleRelojMarcaNombre;
  202.     /**
  203.      * @ORM\Column(type="string", name="detalle_reloj_modelo1")
  204.      * @JMS\Groups({
  205.      *        "api_v1_operacion_serialize"
  206.      *   })
  207.      */
  208.     private $detalleRelojModelo1;
  209.     /**
  210.      * @ORM\Column(type="string", name="detalle_reloj_modelo2")
  211.      * @JMS\Groups({
  212.      *        "api_v1_operacion_serialize"
  213.      *   })
  214.      */
  215.     private $detalleRelojModelo2;
  216.     /**
  217.      * @ORM\Column(type="string", name="detalle_reloj_ref1")
  218.      * @JMS\Groups({
  219.      *        "api_v1_operacion_serialize"
  220.      *   })
  221.      */
  222.     private $detalleRelojRef1;
  223.     /**
  224.      * @ORM\Column(type="string", name="detalle_reloj_ref2")
  225.      * @JMS\Groups({
  226.      *        "api_v1_operacion_serialize"
  227.      *   })
  228.      */
  229.     private $detalleRelojRef2;
  230.     /**
  231.      * @ORM\Column(type="string", name="detalle_reloj_serie")
  232.      */
  233.     private $detalleRelojSerie;
  234.     /**
  235.      * @ORM\Column(type="float", precision=2, name="detalle_precio_coste")
  236.      * @JMS\Groups({
  237.      *        "api_v1_operacion_serialize"
  238.      *   })
  239.      */
  240.     private $detallePrecioCoste;
  241.     /**
  242.      * @ORM\Column(type="float", precision=2, name="detalle_precio_venta")
  243.      * @JMS\Groups({
  244.      *        "api_v1_operacion_serialize"
  245.      *   })
  246.      */
  247.     private $detallePrecioVenta;
  248.     /**
  249.      * @ORM\Column(type="datetime", nullable=true, name="deleted_at")
  250.      * @JMS\Groups({
  251.      *        "api_v1_operacion_serialize"
  252.      *   })
  253.      */
  254.     protected $deletedAt;
  255.     /**
  256.      * @return mixed
  257.      */
  258.     public function getId()
  259.     {
  260.         return $this->id;
  261.     }
  262.     /**
  263.      * @param mixed $id
  264.      * @return OperacionDetalle
  265.      */
  266.     public function setId($id)
  267.     {
  268.         $this->id $id;
  269.         return $this;
  270.     }
  271.     /**
  272.      * @return mixed
  273.      */
  274.     public function getOperacion()
  275.     {
  276.         return $this->operacion;
  277.     }
  278.     /**
  279.      * @param mixed $operacion
  280.      * @return OperacionDetalle
  281.      */
  282.     public function setOperacion($operacion)
  283.     {
  284.         $this->operacion $operacion;
  285.         return $this;
  286.     }
  287.     /**
  288.      * @return mixed
  289.      */
  290.     public function getTipo()
  291.     {
  292.         return $this->tipo;
  293.     }
  294.     /**
  295.      * @param mixed $tipo
  296.      * @return OperacionDetalle
  297.      */
  298.     public function setTipo($tipo)
  299.     {
  300.         $this->tipo $tipo;
  301.         return $this;
  302.     }
  303.     /**
  304.      * @return mixed
  305.      */
  306.     public function getIDperseo()
  307.     {
  308.         return $this->IDperseo;
  309.     }
  310.     /**
  311.      * @param mixed $IDperseo
  312.      * @return OperacionDetalle
  313.      */
  314.     public function setIDperseo($IDperseo)
  315.     {
  316.         $this->IDperseo $IDperseo;
  317.         return $this;
  318.     }
  319.     /**
  320.      * @return mixed
  321.      */
  322.     public function getValoracionOperacion()
  323.     {
  324.         return $this->valoracionOperacion;
  325.     }
  326.     /**
  327.      * @param mixed $valoracionOperacion
  328.      * @return OperacionDetalle
  329.      */
  330.     public function setValoracionOperacion($valoracionOperacion)
  331.     {
  332.         $this->valoracionOperacion $valoracionOperacion;
  333.         return $this;
  334.     }
  335.     /**
  336.      * @return mixed
  337.      */
  338.     public function getValoracionIDperseo()
  339.     {
  340.         return $this->valoracionIDperseo;
  341.     }
  342.     /**
  343.      * @param mixed $valoracionIDperseo
  344.      * @return OperacionDetalle
  345.      */
  346.     public function setValoracionIDperseo($valoracionIDperseo)
  347.     {
  348.         $this->valoracionIDperseo $valoracionIDperseo;
  349.         return $this;
  350.     }
  351.     /**
  352.      * @return mixed
  353.      */
  354.     public function getEstado()
  355.     {
  356.         return $this->estado;
  357.     }
  358.     /**
  359.      * @param mixed $estado
  360.      * @return OperacionDetalle
  361.      */
  362.     public function setEstado($estado)
  363.     {
  364.         $this->estado $estado;
  365.         return $this;
  366.     }
  367.     /**
  368.      * @return mixed
  369.      */
  370.     public function getEstadoKey()
  371.     {
  372.         return $this->estadoKey;
  373.     }
  374.     /**
  375.      * @param mixed $estadoKey
  376.      * @return OperacionDetalle
  377.      */
  378.     public function setEstadoKey($estadoKey)
  379.     {
  380.         $this->estadoKey $estadoKey;
  381.         return $this;
  382.     }
  383.     /**
  384.      * @return mixed
  385.      */
  386.     public function getEstadoNombre()
  387.     {
  388.         return $this->estadoNombre;
  389.     }
  390.     /**
  391.      * @param mixed $estadoNombre
  392.      * @return OperacionDetalle
  393.      */
  394.     public function setEstadoNombre($estadoNombre)
  395.     {
  396.         $this->estadoNombre $estadoNombre;
  397.         return $this;
  398.     }
  399.     /**
  400.      * @return mixed
  401.      */
  402.     public function getEstadoFecha()
  403.     {
  404.         return $this->estadoFecha;
  405.     }
  406.     /**
  407.      * @param mixed $estadoFecha
  408.      * @return OperacionDetalle
  409.      */
  410.     public function setEstadoFecha($estadoFecha)
  411.     {
  412.         $this->estadoFecha $estadoFecha;
  413.         return $this;
  414.     }
  415.     /**
  416.      * @return mixed
  417.      */
  418.     public function getCliente()
  419.     {
  420.         return $this->cliente;
  421.     }
  422.     /**
  423.      * @param mixed $cliente
  424.      * @return OperacionDetalle
  425.      */
  426.     public function setCliente($cliente)
  427.     {
  428.         $this->cliente $cliente;
  429.         return $this;
  430.     }
  431.     /**
  432.      * @return mixed
  433.      */
  434.     public function getClienteRazonSocial()
  435.     {
  436.         return $this->clienteRazonSocial;
  437.     }
  438.     /**
  439.      * @param mixed $clienteRazonSocial
  440.      * @return OperacionDetalle
  441.      */
  442.     public function setClienteRazonSocial($clienteRazonSocial)
  443.     {
  444.         $this->clienteRazonSocial $clienteRazonSocial;
  445.         return $this;
  446.     }
  447.     /**
  448.      * @return mixed
  449.      */
  450.     public function getCanal()
  451.     {
  452.         return $this->canal;
  453.     }
  454.     /**
  455.      * @param mixed $canal
  456.      * @return OperacionDetalle
  457.      */
  458.     public function setCanal($canal)
  459.     {
  460.         $this->canal $canal;
  461.         return $this;
  462.     }
  463.     /**
  464.      * @return mixed
  465.      */
  466.     public function getCanalNombre()
  467.     {
  468.         return $this->canalNombre;
  469.     }
  470.     /**
  471.      * @param mixed $canalNombre
  472.      * @return OperacionDetalle
  473.      */
  474.     public function setCanalNombre($canalNombre)
  475.     {
  476.         $this->canalNombre $canalNombre;
  477.         return $this;
  478.     }
  479.     /**
  480.      * @return mixed
  481.      */
  482.     public function getUsuario()
  483.     {
  484.         return $this->usuario;
  485.     }
  486.     /**
  487.      * @param mixed $usuario
  488.      * @return OperacionDetalle
  489.      */
  490.     public function setUsuario($usuario)
  491.     {
  492.         $this->usuario $usuario;
  493.         return $this;
  494.     }
  495.     /**
  496.      * @return mixed
  497.      */
  498.     public function getUsuarioIDperseo()
  499.     {
  500.         return $this->usuarioIDperseo;
  501.     }
  502.     /**
  503.      * @param mixed $usuarioIDperseo
  504.      * @return OperacionDetalle
  505.      */
  506.     public function setUsuarioIDperseo($usuarioIDperseo)
  507.     {
  508.         $this->usuarioIDperseo $usuarioIDperseo;
  509.         return $this;
  510.     }
  511.     /**
  512.      * @return mixed
  513.      */
  514.     public function getUser()
  515.     {
  516.         return $this->user;
  517.     }
  518.     /**
  519.      * @param mixed $user
  520.      * @return OperacionDetalle
  521.      */
  522.     public function setUser($user)
  523.     {
  524.         $this->user $user;
  525.         return $this;
  526.     }
  527.     /**
  528.      * @return mixed
  529.      */
  530.     public function getUserUsername()
  531.     {
  532.         return $this->userUsername;
  533.     }
  534.     /**
  535.      * @param mixed $userUsername
  536.      * @return OperacionDetalle
  537.      */
  538.     public function setUserUsername($userUsername)
  539.     {
  540.         $this->userUsername $userUsername;
  541.         return $this;
  542.     }
  543.     /**
  544.      * @return mixed
  545.      */
  546.     public function getUserEmail()
  547.     {
  548.         return $this->userEmail;
  549.     }
  550.     /**
  551.      * @param mixed $userEmail
  552.      * @return OperacionDetalle
  553.      */
  554.     public function setUserEmail($userEmail)
  555.     {
  556.         $this->userEmail $userEmail;
  557.         return $this;
  558.     }
  559.     /**
  560.      * @return mixed
  561.      */
  562.     public function getUserNombre()
  563.     {
  564.         return $this->userNombre;
  565.     }
  566.     /**
  567.      * @param mixed $userNombre
  568.      * @return OperacionDetalle
  569.      */
  570.     public function setUserNombre($userNombre)
  571.     {
  572.         $this->userNombre $userNombre;
  573.         return $this;
  574.     }
  575.     /**
  576.      * @return mixed
  577.      */
  578.     public function getUserPrimerApellido()
  579.     {
  580.         return $this->userPrimerApellido;
  581.     }
  582.     /**
  583.      * @param mixed $userPrimerApellido
  584.      * @return OperacionDetalle
  585.      */
  586.     public function setUserPrimerApellido($userPrimerApellido)
  587.     {
  588.         $this->userPrimerApellido $userPrimerApellido;
  589.         return $this;
  590.     }
  591.     /**
  592.      * @return mixed
  593.      */
  594.     public function getUserSegundoApellido()
  595.     {
  596.         return $this->userSegundoApellido;
  597.     }
  598.     /**
  599.      * @param mixed $userSegundoApellido
  600.      * @return OperacionDetalle
  601.      */
  602.     public function setUserSegundoApellido($userSegundoApellido)
  603.     {
  604.         $this->userSegundoApellido $userSegundoApellido;
  605.         return $this;
  606.     }
  607.     /**
  608.      * @return mixed
  609.      */
  610.     public function getFechaTramitacion()
  611.     {
  612.         return $this->fechaTramitacion;
  613.     }
  614.     /**
  615.      * @param mixed $fechaTramitacion
  616.      * @return OperacionDetalle
  617.      */
  618.     public function setFechaTramitacion($fechaTramitacion)
  619.     {
  620.         $this->fechaTramitacion $fechaTramitacion;
  621.         return $this;
  622.     }
  623.     /**
  624.      * @return mixed
  625.      */
  626.     public function getFechaTramitada()
  627.     {
  628.         return $this->fechaTramitada;
  629.     }
  630.     /**
  631.      * @param mixed $fechaTramitada
  632.      * @return OperacionDetalle
  633.      */
  634.     public function setFechaTramitada($fechaTramitada)
  635.     {
  636.         $this->fechaTramitada $fechaTramitada;
  637.         return $this;
  638.     }
  639.     /**
  640.      * @return mixed
  641.      */
  642.     public function getFechaConfirmada()
  643.     {
  644.         return $this->fechaConfirmada;
  645.     }
  646.     /**
  647.      * @param mixed $fechaConfirmada
  648.      * @return OperacionDetalle
  649.      */
  650.     public function setFechaConfirmada($fechaConfirmada)
  651.     {
  652.         $this->fechaConfirmada $fechaConfirmada;
  653.         return $this;
  654.     }
  655.     /**
  656.      * @return mixed
  657.      */
  658.     public function getFechaCancelada()
  659.     {
  660.         return $this->fechaCancelada;
  661.     }
  662.     /**
  663.      * @param mixed $fechaCancelada
  664.      * @return OperacionDetalle
  665.      */
  666.     public function setFechaCancelada($fechaCancelada)
  667.     {
  668.         $this->fechaCancelada $fechaCancelada;
  669.         return $this;
  670.     }
  671.     /**
  672.      * @return mixed
  673.      */
  674.     public function getFechaAsentada()
  675.     {
  676.         return $this->fechaAsentada;
  677.     }
  678.     /**
  679.      * @param mixed $fechaAsentada
  680.      * @return OperacionDetalle
  681.      */
  682.     public function setFechaAsentada($fechaAsentada)
  683.     {
  684.         $this->fechaAsentada $fechaAsentada;
  685.         return $this;
  686.     }
  687.     /**
  688.      * @return mixed
  689.      */
  690.     public function getFechaFinalizada()
  691.     {
  692.         return $this->fechaFinalizada;
  693.     }
  694.     /**
  695.      * @param mixed $fechaFinalizada
  696.      * @return OperacionDetalle
  697.      */
  698.     public function setFechaFinalizada($fechaFinalizada)
  699.     {
  700.         $this->fechaFinalizada $fechaFinalizada;
  701.         return $this;
  702.     }
  703.     /**
  704.      * @return mixed
  705.      */
  706.     public function getDetalle()
  707.     {
  708.         return $this->detalle;
  709.     }
  710.     /**
  711.      * @param mixed $detalle
  712.      * @return OperacionDetalle
  713.      */
  714.     public function setDetalle($detalle)
  715.     {
  716.         $this->detalle $detalle;
  717.         return $this;
  718.     }
  719.     /**
  720.      * @return mixed
  721.      */
  722.     public function getDetalleReloj()
  723.     {
  724.         return $this->detalleReloj;
  725.     }
  726.     /**
  727.      * @param mixed $detalleReloj
  728.      * @return OperacionDetalle
  729.      */
  730.     public function setDetalleReloj($detalleReloj)
  731.     {
  732.         $this->detalleReloj $detalleReloj;
  733.         return $this;
  734.     }
  735.     /**
  736.      * @return mixed
  737.      */
  738.     public function getDetalleRelojIDperseo()
  739.     {
  740.         return $this->detalleRelojIDperseo;
  741.     }
  742.     public function getDetalleRelojCodigo()
  743.     {
  744.         return $this->detalleRelojCodigo;
  745.     }
  746.     /**
  747.      * @param mixed $detalleRelojIDperseo
  748.      * @return OperacionDetalle
  749.      */
  750.     public function setDetalleRelojIDperseo($detalleRelojIDperseo)
  751.     {
  752.         $this->detalleRelojIDperseo $detalleRelojIDperseo;
  753.         return $this;
  754.     }
  755.     /**
  756.      * @return mixed
  757.      */
  758.     public function getDetalleRelojMarca()
  759.     {
  760.         return $this->detalleRelojMarca;
  761.     }
  762.     /**
  763.      * @param mixed $detalleRelojMarca
  764.      * @return OperacionDetalle
  765.      */
  766.     public function setDetalleRelojMarca($detalleRelojMarca)
  767.     {
  768.         $this->detalleRelojMarca $detalleRelojMarca;
  769.         return $this;
  770.     }
  771.     /**
  772.      * @return mixed
  773.      */
  774.     public function getDetalleRelojMarcaNombre()
  775.     {
  776.         return $this->detalleRelojMarcaNombre;
  777.     }
  778.     /**
  779.      * @param mixed $detalleRelojMarcaNombre
  780.      * @return OperacionDetalle
  781.      */
  782.     public function setDetalleRelojMarcaNombre($detalleRelojMarcaNombre)
  783.     {
  784.         $this->detalleRelojMarcaNombre $detalleRelojMarcaNombre;
  785.         return $this;
  786.     }
  787.     public function getDetalleRelojModelos():?string
  788.     {
  789.         return implode(' 'array_filter([$this->getDetalleRelojModelo1(), $this->getDetalleRelojModelo2()]));
  790.     }
  791.     /**
  792.      * @return mixed
  793.      */
  794.     public function getDetalleRelojModelo1()
  795.     {
  796.         return $this->detalleRelojModelo1;
  797.     }
  798.     /**
  799.      * @param mixed $detalleRelojModelo1
  800.      * @return OperacionDetalle
  801.      */
  802.     public function setDetalleRelojModelo1($detalleRelojModelo1)
  803.     {
  804.         $this->detalleRelojModelo1 $detalleRelojModelo1;
  805.         return $this;
  806.     }
  807.     /**
  808.      * @return mixed
  809.      */
  810.     public function getDetalleRelojModelo2()
  811.     {
  812.         return $this->detalleRelojModelo2;
  813.     }
  814.     /**
  815.      * @param mixed $detalleRelojModelo2
  816.      * @return OperacionDetalle
  817.      */
  818.     public function setDetalleRelojModelo2($detalleRelojModelo2)
  819.     {
  820.         $this->detalleRelojModelo2 $detalleRelojModelo2;
  821.         return $this;
  822.     }
  823.     /**
  824.      * @return mixed
  825.      */
  826.     public function getDetalleRelojRef1()
  827.     {
  828.         return $this->detalleRelojRef1;
  829.     }
  830.     /**
  831.      * @param mixed $detalleRelojRef1
  832.      * @return OperacionDetalle
  833.      */
  834.     public function setDetalleRelojRef1($detalleRelojRef1)
  835.     {
  836.         $this->detalleRelojRef1 $detalleRelojRef1;
  837.         return $this;
  838.     }
  839.     /**
  840.      * @return mixed
  841.      */
  842.     public function getDetalleRelojRef2()
  843.     {
  844.         return $this->detalleRelojRef2;
  845.     }
  846.     /**
  847.      * @param mixed $detalleRelojRef2
  848.      * @return OperacionDetalle
  849.      */
  850.     public function setDetalleRelojRef2($detalleRelojRef2)
  851.     {
  852.         $this->detalleRelojRef2 $detalleRelojRef2;
  853.         return $this;
  854.     }
  855.     /**
  856.      * @return mixed
  857.      */
  858.     public function getDetalleRelojSerie()
  859.     {
  860.         return $this->detalleRelojSerie;
  861.     }
  862.     /**
  863.      * @param mixed $detalleRelojSerie
  864.      * @return OperacionDetalle
  865.      */
  866.     public function setDetalleRelojSerie($detalleRelojSerie)
  867.     {
  868.         $this->detalleRelojSerie $detalleRelojSerie;
  869.         return $this;
  870.     }
  871.     /**
  872.      * @return mixed
  873.      */
  874.     public function getDetallePrecioCoste()
  875.     {
  876.         return $this->detallePrecioCoste;
  877.     }
  878.     /**
  879.      * @param mixed $detallePrecioCoste
  880.      * @return OperacionDetalle
  881.      */
  882.     public function setDetallePrecioCoste($detallePrecioCoste)
  883.     {
  884.         $this->detallePrecioCoste $detallePrecioCoste;
  885.         return $this;
  886.     }
  887.     /**
  888.      * @return mixed
  889.      */
  890.     public function getDetallePrecioVenta()
  891.     {
  892.         return $this->detallePrecioVenta;
  893.     }
  894.     /**
  895.      * @param mixed $detallePrecioVenta
  896.      * @return OperacionDetalle
  897.      */
  898.     public function setDetallePrecioVenta($detallePrecioVenta)
  899.     {
  900.         $this->detallePrecioVenta $detallePrecioVenta;
  901.         return $this;
  902.     }
  903.     /*
  904.      * @return DateTime
  905.      * @throws Exception
  906.      */
  907.     /*public function getEstadoFecha(): DateTime
  908.     {
  909.         switch($this->getEstadoKey())
  910.         {
  911.             case EstadoOperacionEnum::ESTADO_EN_TRAMITACION:
  912.                 $fecha = $this->getFechaTramitacion();
  913.                 break;
  914.             case EstadoOperacionEnum::ESTADO_TRAMITADA:
  915.                 $fecha = $this->getFechaTramitada();
  916.                 break;
  917.             case EstadoOperacionEnum::ESTADO_CONFIRMADA:
  918.                 $fecha = $this->getFechaConfirmada();
  919.                 break;
  920.             default:
  921.                 $fecha = null;
  922.                 break;
  923.         }
  924.         return new DateTime($fecha);
  925.     }*/
  926.     public function getFecha(): ?\DateTimeInterface
  927.     {
  928.         return $this->fecha;
  929.     }
  930.     public function setFecha(\DateTimeInterface $fecha): static
  931.     {
  932.         $this->fecha $fecha;
  933.         return $this;
  934.     }
  935.     public function getDeletedAt(): ?DateTimeInterface
  936.     {
  937.         return $this->deletedAt;
  938.     }
  939.     public function setDeletedAt(?DateTimeInterface $deletedAt): self
  940.     {
  941.         $this->deletedAt $deletedAt;
  942.         return $this;
  943.     }
  944. }