<?php
namespace App\Entity\Producto;
use App\Entity\Catalogos\Parroquias;
use Doctrine\ORM\Mapping as ORM;
/**
* Proveedores
*
* @ORM\Table(name="producto.proveedores")
* @ORM\Entity
*/
class Proveedores
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="producto.proveedores_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="nombre", type="string", length=100, nullable=false)
*/
private $nombre;
/**
* @var string
*
* @ORM\Column(name="ruc", type="string", length=15, nullable=false)
*/
private $ruc;
/**
* @var string|null
*
* @ORM\Column(name="telefono_empresa", type="string", length=15, nullable=true)
*/
private $telefonoEmpresa;
/**
* @var string|null
*
* @ORM\Column(name="correo_electronico", type="string", length=100, nullable=true)
*/
private $correoElectronico;
/**
* @var string|null
*
* @ORM\Column(name="pagina_web", type="string", length=100, nullable=true)
*/
private $paginaWeb;
/**
* @var string|null
*
* @ORM\Column(name="direccion", type="text", nullable=true)
*/
private $direccion;
/**
* @var string
*
* @ORM\Column(name="tipo", type="string", length=16, nullable=false, options={"comment"="juridica/persona natural"})
*/
private $tipo;
/**
* @var bool
*
* @ORM\Column(name="ofrece_credito", type="boolean", nullable=false)
*/
private $ofreceCredito;
/**
* @var int
*
* @ORM\Column(name="dias_credito", type="integer", nullable=false)
*/
private $diasCredito;
/**
* @var int
*
* @ORM\Column(name="id_usuario_modificacion", type="integer", nullable=false)
*/
private $idUsuarioModificacion;
/**
* @var \DateTime
*
* @ORM\Column(name="fecha_modificacion", type="datetime", nullable=false)
*/
private $fechaModificacion;
/**
* @var string
*
* @ORM\Column(name="ip_modificacion", type="string", length=50, nullable=false)
*/
private $ipModificacion;
/**
* @var \App\Entity\Catalogos\Parroquias
*
* @ORM\ManyToOne(targetEntity="App\Entity\Catalogos\Parroquias")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="id_parroquias", referencedColumnName="id")
* })
*/
private $idParroquias;
public function getIdParroquias(): ?Parroquias
{
return $this->idParroquias;
}
public function setIdParroquias(?Parroquias $idParroquias): self
{
$this->idParroquias = $idParroquias;
return $this;
}
public function getId(): ?int
{
return $this->id;
}
public function getNombre(): ?string
{
return $this->nombre;
}
public function setNombre(string $nombre): self
{
$this->nombre = $nombre;
return $this;
}
public function getRuc(): ?string
{
return $this->ruc;
}
public function setRuc(string $ruc): self
{
$this->ruc = $ruc;
return $this;
}
public function getTelefonoEmpresa(): ?string
{
return $this->telefonoEmpresa;
}
public function setTelefonoEmpresa(?string $telefonoEmpresa): self
{
$this->telefonoEmpresa = $telefonoEmpresa;
return $this;
}
public function getCorreoElectronico(): ?string
{
return $this->correoElectronico;
}
public function setCorreoElectronico(?string $correoElectronico): self
{
$this->correoElectronico = $correoElectronico;
return $this;
}
public function getPaginaWeb(): ?string
{
return $this->paginaWeb;
}
public function setPaginaWeb(?string $paginaWeb): self
{
$this->paginaWeb = $paginaWeb;
return $this;
}
public function getDireccion(): ?string
{
return $this->direccion;
}
public function setDireccion(?string $direccion): self
{
$this->direccion = $direccion;
return $this;
}
public function getTipo(): ?string
{
return $this->tipo;
}
public function setTipo(string $tipo): self
{
$this->tipo = $tipo;
return $this;
}
public function getOfreceCredito(): ?bool
{
return $this->ofreceCredito;
}
public function setOfreceCredito(bool $ofreceCredito): self
{
$this->ofreceCredito = $ofreceCredito;
return $this;
}
public function getDiasCredito(): ?int
{
return $this->diasCredito;
}
public function setDiasCredito(int $diasCredito): self
{
$this->diasCredito = $diasCredito;
return $this;
}
public function getIdUsuarioModificacion(): ?int
{
return $this->idUsuarioModificacion;
}
public function setIdUsuarioModificacion(int $idUsuarioModificacion): self
{
$this->idUsuarioModificacion = $idUsuarioModificacion;
return $this;
}
public function getFechaModificacion(): ?\DateTimeInterface
{
return $this->fechaModificacion;
}
public function setFechaModificacion(\DateTimeInterface $fechaModificacion): self
{
$this->fechaModificacion = $fechaModificacion;
return $this;
}
public function getIpModificacion(): ?string
{
return $this->ipModificacion;
}
public function setIpModificacion(string $ipModificacion): self
{
$this->ipModificacion = $ipModificacion;
return $this;
}
}