<?php
namespace App\Entity;
use App\Repository\ComResultadoNegociacionRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ComResultadoNegociacionRepository::class)]
class ComResultadoNegociacion
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\ManyToOne(inversedBy: 'comProspectoParEstado')]
private ?ParEstado $resultadoNegociacion = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $fechaResultado = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $motivoRechazoOferta = null;
#[ORM\ManyToOne(inversedBy: 'comResultadoNegociacion')]
private ?comOfertaComercial $comOfertaComercial = null;
public function getId(): ?int
{
return $this->id;
}
public function getResultadoNegociacion(): ?ParEstado
{
return $this->resultadoNegociacion;
}
public function setResultadoNegociacion(?ParEstado $resultadoNegociacion): static
{
$this->resultadoNegociacion = $resultadoNegociacion;
return $this;
}
public function getFechaResultado(): ?\DateTimeInterface
{
return $this->fechaResultado;
}
public function setFechaResultado(\DateTimeInterface $fechaResultado): static
{
$this->fechaResultado = $fechaResultado;
return $this;
}
public function getMotivoRechazoOferta(): ?string
{
return $this->motivoRechazoOferta;
}
public function setMotivoRechazoOferta(?string $motivoRechazoOferta): static
{
$this->motivoRechazoOferta = $motivoRechazoOferta;
return $this;
}
public function getComOfertaComercial(): ?comOfertaComercial
{
return $this->comOfertaComercial;
}
public function setComOfertaComercial(?comOfertaComercial $comOfertaComercial): static
{
$this->comOfertaComercial = $comOfertaComercial;
return $this;
}
}