<?php

namespace RxConnexionBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use RxConnexionBundle\Entity\Base\BaseEntity;

/**
 * CovertInventoryItemInventorySerialNoEntity
 *
 * @ORM\Table(name="convert_inventory_item_inventory_serial_no")
 * @ORM\Entity(repositoryClass="RxConnexionBundle\Repository\CovertInventoryItemInventorySerialNoRepository")
 */
class ConvertInventoryItemInventorySerialNoEntity extends BaseEntity
{
   /**
   * @ORM\ManyToOne(targetEntity="RxConnexionBundle\Entity\ConvertInventoryItemEntity", inversedBy="convertInventoryItemInventorySerialNos")
   * @ORM\JoinColumn(name="convert_inventory_item_id", referencedColumnName="id")
   */
   protected $convertInventoryItem;

   /**
   * @ORM\ManyToOne(targetEntity="RxConnexionBundle\Entity\InventorySerialNoEntity", inversedBy="convertInventoryItemInventorySerialNos")
   * @ORM\JoinColumn(name="inventory_serial_no_id", referencedColumnName="id")
   */
   protected $inventorySerialNo;

    /**
     * Set convertInventoryItem
     *
     * @param \RxConnexionBundle\Entity\ConvertInventoryItemEntity $convertInventoryItem
     *
     * @return ConvertInventoryItemInventorySerialNoEntity
     */
    public function setConvertInventoryItem(\RxConnexionBundle\Entity\ConvertInventoryItemEntity $convertInventoryItem = null)
    {
        $this->convertInventoryItem = $convertInventoryItem;

        return $this;
    }

    /**
     * Get convertInventoryItem
     *
     * @return \RxConnexionBundle\Entity\ConvertInventoryItemEntity
     */
    public function getConvertInventoryItem()
    {
        return $this->convertInventoryItem;
    }

    /**
     * Set inventorySerialNo
     *
     * @param \RxConnexionBundle\Entity\InventorySerialNoEntity $inventorySerialNo
     *
     * @return ConvertInventoryItemInventorySerialNoEntity
     */
    public function setInventorySerialNo(\RxConnexionBundle\Entity\InventorySerialNoEntity $inventorySerialNo = null)
    {
        $this->inventorySerialNo = $inventorySerialNo;

        return $this;
    }

    /**
     * Get inventorySerialNo
     *
     * @return \RxConnexionBundle\Entity\InventorySerialNoEntity
     */
    public function getInventorySerialNo()
    {
        return $this->inventorySerialNo;
    }
}
