src/OfficeBrain/Bundle/RequestQuoteBundle/Entity/RequestQuoteProductSupplier.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\OfficeBrain\Bundle\RequestQuoteBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as Gedmo;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. /**
  7.  * RequestQuoteProductSupplier
  8.  *
  9.  * @ORM\Table("tbl_request_quote_product_supplier", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
  10.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductSupplierRepository")
  11.  */
  12. class RequestQuoteProductSupplier
  13. {
  14.     /**
  15.      * @var integer
  16.      *
  17.      * @ORM\Column(name="id", type="bigint",length=20 ,options={"unsigned"=true})
  18.      * @ORM\Id
  19.      * @ORM\GeneratedValue(strategy="AUTO")
  20.      */
  21.     private $id;
  22.     /**
  23.      * @var integer
  24.      * @ORM\OneToOne(targetEntity="RequestQuoteItemLine", inversedBy="requestQuoteProductSupplier")  
  25.      * @ORM\JoinColumn(name="request_quote_item_line_id", referencedColumnName="id")
  26.      */
  27.     private $requestQuoteItemLineId;
  28.     /**
  29.      * @var integer
  30.      *
  31.      * @ORM\Column(name="supplier_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  32.      */
  33.     private $supplierId;
  34.     /**
  35.      * @var string
  36.      *
  37.      * @ORM\Column(name="supplier_name", type="string", length=255, nullable=true)
  38.      */
  39.     private $supplierName;
  40.     /**
  41.      * @var string
  42.      *
  43.      * @ORM\Column(name="code", type="string", length=255, nullable=true)
  44.      */
  45.     private $code;
  46.     /**
  47.      * @var string
  48.      *
  49.      * @ORM\Column(name="email_address", type="string", length=255, nullable=true)
  50.      */
  51.     private $emailAddress;
  52.     /**
  53.      * @var string
  54.      *
  55.      * @ORM\Column(name="website", type="string", length=255, nullable=true)
  56.      */
  57.     private $website;
  58.     /**
  59.      * @var string
  60.      *
  61.      * @ORM\Column(name="image", type="string", length=255, nullable=true)
  62.      */
  63.     private $image;
  64.     /**
  65.      * @var string
  66.      *
  67.      * @ORM\Column(name="fax", type="string", length=255, nullable=true)
  68.      */
  69.     private $fax;
  70.     /**
  71.      * @var string
  72.      *
  73.      * @ORM\Column(name="mobile", type="string", length=255, nullable=true)
  74.      */
  75.     private $mobile;
  76.     /**
  77.      * @var string
  78.      *
  79.      * @ORM\Column(name="telephone", type="string", length=255, nullable=true)
  80.      */
  81.     private $telephone;
  82.     /**
  83.      * Get id
  84.      *
  85.      * @return integer 
  86.      */
  87.     public function getId()
  88.     {
  89.         return $this->id;
  90.     }
  91.     /**
  92.      * Set supplierId
  93.      *
  94.      * @param integer $supplierId
  95.      * @return RequestQuoteProductSupplier
  96.      */
  97.     public function setSupplierId($supplierId)
  98.     {
  99.         $this->supplierId $supplierId;
  100.         return $this;
  101.     }
  102.     /**
  103.      * Get supplierId
  104.      *
  105.      * @return integer 
  106.      */
  107.     public function getSupplierId()
  108.     {
  109.         return $this->supplierId;
  110.     }
  111.     /**
  112.      * Set supplierName
  113.      *
  114.      * @param string $supplierName
  115.      * @return RequestQuoteProductSupplier
  116.      */
  117.     public function setSupplierName($supplierName)
  118.     {
  119.         $this->supplierName $supplierName;
  120.         return $this;
  121.     }
  122.     /**
  123.      * Get supplierName
  124.      *
  125.      * @return string 
  126.      */
  127.     public function getSupplierName()
  128.     {
  129.         return $this->supplierName;
  130.     }
  131.     /**
  132.      * Set code
  133.      *
  134.      * @param string $code
  135.      * @return RequestQuoteProductSupplier
  136.      */
  137.     public function setCode($code)
  138.     {
  139.         $this->code $code;
  140.         return $this;
  141.     }
  142.     /**
  143.      * Get code
  144.      *
  145.      * @return string 
  146.      */
  147.     public function getCode()
  148.     {
  149.         return $this->code;
  150.     }
  151.     /**
  152.      * Set emailAddress
  153.      *
  154.      * @param string $emailAddress
  155.      * @return RequestQuoteProductSupplier
  156.      */
  157.     public function setEmailAddress($emailAddress)
  158.     {
  159.         $this->emailAddress $emailAddress;
  160.         return $this;
  161.     }
  162.     /**
  163.      * Get emailAddress
  164.      *
  165.      * @return string 
  166.      */
  167.     public function getEmailAddress()
  168.     {
  169.         return $this->emailAddress;
  170.     }
  171.     /**
  172.      * Set website
  173.      *
  174.      * @param string $website
  175.      * @return RequestQuoteProductSupplier
  176.      */
  177.     public function setWebsite($website)
  178.     {
  179.         $this->website $website;
  180.         return $this;
  181.     }
  182.     /**
  183.      * Get website
  184.      *
  185.      * @return string 
  186.      */
  187.     public function getWebsite()
  188.     {
  189.         return $this->website;
  190.     }
  191.     /**
  192.      * Set image
  193.      *
  194.      * @param string $image
  195.      * @return RequestQuoteProductSupplier
  196.      */
  197.     public function setImage($image)
  198.     {
  199.         $this->image $image;
  200.         return $this;
  201.     }
  202.     /**
  203.      * Get image
  204.      *
  205.      * @return string 
  206.      */
  207.     public function getImage()
  208.     {
  209.         return $this->image;
  210.     }
  211.     /**
  212.      * Set fax
  213.      *
  214.      * @param string $fax
  215.      * @return RequestQuoteProductSupplier
  216.      */
  217.     public function setFax($fax)
  218.     {
  219.         $this->fax $fax;
  220.         return $this;
  221.     }
  222.     /**
  223.      * Get fax
  224.      *
  225.      * @return string 
  226.      */
  227.     public function getFax()
  228.     {
  229.         return $this->fax;
  230.     }
  231.     /**
  232.      * Set mobile
  233.      *
  234.      * @param string $mobile
  235.      * @return RequestQuoteProductSupplier
  236.      */
  237.     public function setMobile($mobile)
  238.     {
  239.         $this->mobile $mobile;
  240.         return $this;
  241.     }
  242.     /**
  243.      * Get mobile
  244.      *
  245.      * @return string 
  246.      */
  247.     public function getMobile()
  248.     {
  249.         return $this->mobile;
  250.     }
  251.     /**
  252.      * Set telephone
  253.      *
  254.      * @param string $telephone
  255.      * @return RequestQuoteProductSupplier
  256.      */
  257.     public function setTelephone($telephone)
  258.     {
  259.         $this->telephone $telephone;
  260.         return $this;
  261.     }
  262.     /**
  263.      * Get telephone
  264.      *
  265.      * @return string 
  266.      */
  267.     public function getTelephone()
  268.     {
  269.         return $this->telephone;
  270.     }
  271.     /**
  272.      * Set requestQuoteItemLineId
  273.      *
  274.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteItemLine $requestQuoteItemLineId
  275.      * @return RequestQuoteProductSupplier
  276.      */
  277.     public function setRequestQuoteItemLineId(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteItemLine $requestQuoteItemLineId null)
  278.     {
  279.         $this->requestQuoteItemLineId $requestQuoteItemLineId;
  280.         return $this;
  281.     }
  282.     /**
  283.      * Get requestQuoteItemLineId
  284.      *
  285.      * @return \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteItemLine 
  286.      */
  287.     public function getRequestQuoteItemLineId()
  288.     {
  289.         return $this->requestQuoteItemLineId;
  290.     }
  291. }