src/Entity/Producto/Proveedores.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Producto;
  3. use App\Entity\Catalogos\Parroquias;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * Proveedores
  7.  *
  8.  * @ORM\Table(name="producto.proveedores")
  9.  * @ORM\Entity
  10.  */
  11. class Proveedores
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer", nullable=false)
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="SEQUENCE")
  19.      * @ORM\SequenceGenerator(sequenceName="producto.proveedores_id_seq", allocationSize=1, initialValue=1)
  20.      */
  21.     private $id;
  22.     /**
  23.      * @var string
  24.      *
  25.      * @ORM\Column(name="nombre", type="string", length=100, nullable=false)
  26.      */
  27.     private $nombre;
  28.     /**
  29.      * @var string
  30.      *
  31.      * @ORM\Column(name="ruc", type="string", length=15, nullable=false)
  32.      */
  33.     private $ruc;
  34.     /**
  35.      * @var string|null
  36.      *
  37.      * @ORM\Column(name="telefono_empresa", type="string", length=15, nullable=true)
  38.      */
  39.     private $telefonoEmpresa;
  40.     /**
  41.      * @var string|null
  42.      *
  43.      * @ORM\Column(name="correo_electronico", type="string", length=100, nullable=true)
  44.      */
  45.     private $correoElectronico;
  46.     /**
  47.      * @var string|null
  48.      *
  49.      * @ORM\Column(name="pagina_web", type="string", length=100, nullable=true)
  50.      */
  51.     private $paginaWeb;
  52.     /**
  53.      * @var string|null
  54.      *
  55.      * @ORM\Column(name="direccion", type="text", nullable=true)
  56.      */
  57.     private $direccion;
  58.     /**
  59.      * @var string
  60.      *
  61.      * @ORM\Column(name="tipo", type="string", length=16, nullable=false, options={"comment"="juridica/persona natural"})
  62.      */
  63.     private $tipo;
  64.     /**
  65.      * @var bool
  66.      *
  67.      * @ORM\Column(name="ofrece_credito", type="boolean", nullable=false)
  68.      */
  69.     private $ofreceCredito;
  70.     /**
  71.      * @var int
  72.      *
  73.      * @ORM\Column(name="dias_credito", type="integer", nullable=false)
  74.      */
  75.     private $diasCredito;
  76.     /**
  77.      * @var int
  78.      *
  79.      * @ORM\Column(name="id_usuario_modificacion", type="integer", nullable=false)
  80.      */
  81.     private $idUsuarioModificacion;
  82.     /**
  83.      * @var \DateTime
  84.      *
  85.      * @ORM\Column(name="fecha_modificacion", type="datetime", nullable=false)
  86.      */
  87.     private $fechaModificacion;
  88.     /**
  89.      * @var string
  90.      *
  91.      * @ORM\Column(name="ip_modificacion", type="string", length=50, nullable=false)
  92.      */
  93.     private $ipModificacion;
  94.      /**
  95.      * @var \App\Entity\Catalogos\Parroquias
  96.      *
  97.      * @ORM\ManyToOne(targetEntity="App\Entity\Catalogos\Parroquias")
  98.      * @ORM\JoinColumns({
  99.      *   @ORM\JoinColumn(name="id_parroquias", referencedColumnName="id")
  100.      * })
  101.      */
  102.     private $idParroquias;
  103.     
  104.     public function getIdParroquias(): ?Parroquias
  105.     {
  106.         return $this->idParroquias;
  107.     }
  108.     public function setIdParroquias(?Parroquias $idParroquias): self
  109.     {
  110.         $this->idParroquias $idParroquias;
  111.         return $this;
  112.     }
  113.     public function getId(): ?int
  114.     {
  115.         return $this->id;
  116.     }
  117.     public function getNombre(): ?string
  118.     {
  119.         return $this->nombre;
  120.     }
  121.     public function setNombre(string $nombre): self
  122.     {
  123.         $this->nombre $nombre;
  124.         return $this;
  125.     }
  126.     public function getRuc(): ?string
  127.     {
  128.         return $this->ruc;
  129.     }
  130.     public function setRuc(string $ruc): self
  131.     {
  132.         $this->ruc $ruc;
  133.         return $this;
  134.     }
  135.     public function getTelefonoEmpresa(): ?string
  136.     {
  137.         return $this->telefonoEmpresa;
  138.     }
  139.     public function setTelefonoEmpresa(?string $telefonoEmpresa): self
  140.     {
  141.         $this->telefonoEmpresa $telefonoEmpresa;
  142.         return $this;
  143.     }
  144.     public function getCorreoElectronico(): ?string
  145.     {
  146.         return $this->correoElectronico;
  147.     }
  148.     public function setCorreoElectronico(?string $correoElectronico): self
  149.     {
  150.         $this->correoElectronico $correoElectronico;
  151.         return $this;
  152.     }
  153.     public function getPaginaWeb(): ?string
  154.     {
  155.         return $this->paginaWeb;
  156.     }
  157.     public function setPaginaWeb(?string $paginaWeb): self
  158.     {
  159.         $this->paginaWeb $paginaWeb;
  160.         return $this;
  161.     }
  162.     public function getDireccion(): ?string
  163.     {
  164.         return $this->direccion;
  165.     }
  166.     public function setDireccion(?string $direccion): self
  167.     {
  168.         $this->direccion $direccion;
  169.         return $this;
  170.     }
  171.     public function getTipo(): ?string
  172.     {
  173.         return $this->tipo;
  174.     }
  175.     public function setTipo(string $tipo): self
  176.     {
  177.         $this->tipo $tipo;
  178.         return $this;
  179.     }
  180.     public function getOfreceCredito(): ?bool
  181.     {
  182.         return $this->ofreceCredito;
  183.     }
  184.     public function setOfreceCredito(bool $ofreceCredito): self
  185.     {
  186.         $this->ofreceCredito $ofreceCredito;
  187.         return $this;
  188.     }
  189.     public function getDiasCredito(): ?int
  190.     {
  191.         return $this->diasCredito;
  192.     }
  193.     public function setDiasCredito(int $diasCredito): self
  194.     {
  195.         $this->diasCredito $diasCredito;
  196.         return $this;
  197.     }
  198.     public function getIdUsuarioModificacion(): ?int
  199.     {
  200.         return $this->idUsuarioModificacion;
  201.     }
  202.     public function setIdUsuarioModificacion(int $idUsuarioModificacion): self
  203.     {
  204.         $this->idUsuarioModificacion $idUsuarioModificacion;
  205.         return $this;
  206.     }
  207.     public function getFechaModificacion(): ?\DateTimeInterface
  208.     {
  209.         return $this->fechaModificacion;
  210.     }
  211.     public function setFechaModificacion(\DateTimeInterface $fechaModificacion): self
  212.     {
  213.         $this->fechaModificacion $fechaModificacion;
  214.         return $this;
  215.     }
  216.     public function getIpModificacion(): ?string
  217.     {
  218.         return $this->ipModificacion;
  219.     }
  220.     public function setIpModificacion(string $ipModificacion): self
  221.     {
  222.         $this->ipModificacion $ipModificacion;
  223.         return $this;
  224.     }
  225. }