<?php
namespace App\OfficeBrain\Bundle\RequestQuoteBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Doctrine\Common\Collections\ArrayCollection;
/**
* RequestQuoteProductSupplier
*
* @ORM\Table("tbl_request_quote_product_supplier", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
* @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductSupplierRepository")
*/
class RequestQuoteProductSupplier
{
/**
* @var integer
*
* @ORM\Column(name="id", type="bigint",length=20 ,options={"unsigned"=true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var integer
* @ORM\OneToOne(targetEntity="RequestQuoteItemLine", inversedBy="requestQuoteProductSupplier")
* @ORM\JoinColumn(name="request_quote_item_line_id", referencedColumnName="id")
*/
private $requestQuoteItemLineId;
/**
* @var integer
*
* @ORM\Column(name="supplier_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
*/
private $supplierId;
/**
* @var string
*
* @ORM\Column(name="supplier_name", type="string", length=255, nullable=true)
*/
private $supplierName;
/**
* @var string
*
* @ORM\Column(name="code", type="string", length=255, nullable=true)
*/
private $code;
/**
* @var string
*
* @ORM\Column(name="email_address", type="string", length=255, nullable=true)
*/
private $emailAddress;
/**
* @var string
*
* @ORM\Column(name="website", type="string", length=255, nullable=true)
*/
private $website;
/**
* @var string
*
* @ORM\Column(name="image", type="string", length=255, nullable=true)
*/
private $image;
/**
* @var string
*
* @ORM\Column(name="fax", type="string", length=255, nullable=true)
*/
private $fax;
/**
* @var string
*
* @ORM\Column(name="mobile", type="string", length=255, nullable=true)
*/
private $mobile;
/**
* @var string
*
* @ORM\Column(name="telephone", type="string", length=255, nullable=true)
*/
private $telephone;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set supplierId
*
* @param integer $supplierId
* @return RequestQuoteProductSupplier
*/
public function setSupplierId($supplierId)
{
$this->supplierId = $supplierId;
return $this;
}
/**
* Get supplierId
*
* @return integer
*/
public function getSupplierId()
{
return $this->supplierId;
}
/**
* Set supplierName
*
* @param string $supplierName
* @return RequestQuoteProductSupplier
*/
public function setSupplierName($supplierName)
{
$this->supplierName = $supplierName;
return $this;
}
/**
* Get supplierName
*
* @return string
*/
public function getSupplierName()
{
return $this->supplierName;
}
/**
* Set code
*
* @param string $code
* @return RequestQuoteProductSupplier
*/
public function setCode($code)
{
$this->code = $code;
return $this;
}
/**
* Get code
*
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* Set emailAddress
*
* @param string $emailAddress
* @return RequestQuoteProductSupplier
*/
public function setEmailAddress($emailAddress)
{
$this->emailAddress = $emailAddress;
return $this;
}
/**
* Get emailAddress
*
* @return string
*/
public function getEmailAddress()
{
return $this->emailAddress;
}
/**
* Set website
*
* @param string $website
* @return RequestQuoteProductSupplier
*/
public function setWebsite($website)
{
$this->website = $website;
return $this;
}
/**
* Get website
*
* @return string
*/
public function getWebsite()
{
return $this->website;
}
/**
* Set image
*
* @param string $image
* @return RequestQuoteProductSupplier
*/
public function setImage($image)
{
$this->image = $image;
return $this;
}
/**
* Get image
*
* @return string
*/
public function getImage()
{
return $this->image;
}
/**
* Set fax
*
* @param string $fax
* @return RequestQuoteProductSupplier
*/
public function setFax($fax)
{
$this->fax = $fax;
return $this;
}
/**
* Get fax
*
* @return string
*/
public function getFax()
{
return $this->fax;
}
/**
* Set mobile
*
* @param string $mobile
* @return RequestQuoteProductSupplier
*/
public function setMobile($mobile)
{
$this->mobile = $mobile;
return $this;
}
/**
* Get mobile
*
* @return string
*/
public function getMobile()
{
return $this->mobile;
}
/**
* Set telephone
*
* @param string $telephone
* @return RequestQuoteProductSupplier
*/
public function setTelephone($telephone)
{
$this->telephone = $telephone;
return $this;
}
/**
* Get telephone
*
* @return string
*/
public function getTelephone()
{
return $this->telephone;
}
/**
* Set requestQuoteItemLineId
*
* @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteItemLine $requestQuoteItemLineId
* @return RequestQuoteProductSupplier
*/
public function setRequestQuoteItemLineId(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteItemLine $requestQuoteItemLineId = null)
{
$this->requestQuoteItemLineId = $requestQuoteItemLineId;
return $this;
}
/**
* Get requestQuoteItemLineId
*
* @return \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteItemLine
*/
public function getRequestQuoteItemLineId()
{
return $this->requestQuoteItemLineId;
}
}