<?php
namespace App\AtechNet\CoreBundle\Entity;
use Doctrine\ORM\Mapping\Column;
use Doctrine\ORM\Mapping\Entity;
use Doctrine\ORM\Mapping\JoinColumn;
use Doctrine\ORM\Mapping\ManyToOne;
use Doctrine\ORM\Mapping\Table as Table;
/**
* Stock review stock items
*
* @Table(name="stock_review_stock_items")
* @Entity
*/
class StockReviewStockItem extends AbstractSignedEntity
{
/**
* @var StockReviewCount
*
* @ManyToOne(targetEntity="App\AtechNet\CoreBundle\Entity\StockReviewCount", inversedBy="stockReviewStockItems")
* @JoinColumn(name="stock_review_count_id", referencedColumnName="id")
*/
private $stockReviewCount;
/**
* @var StockItem
*
* @ManyToOne(targetEntity="App\AtechNet\CoreBundle\Entity\StockItem")
* @JoinColumn(name="stock_item_id", referencedColumnName="id", nullable=true)
*/
private $stockItem;
/**
* @var int
*
* @Column(name="scanned", type="boolean")
*/
private $scanned = false;
/**
* @var int
*
* @Column(name="excess", type="boolean")
*/
private $excess = false;
public function getStockReviewCount()
{
return $this->stockReviewCount;
}
public function setStockReviewCount(StockReviewCount $stockReviewCount)
{
$this->stockReviewCount = $stockReviewCount;
return $this;
}
public function getStockItem()
{
return $this->stockItem;
}
public function setStockItem(StockItem $stockItem)
{
$this->stockItem = $stockItem;
return $this;
}
public function getScanned()
{
return $this->scanned;
}
public function setScanned($scanned)
{
$this->scanned = $scanned;
return $this;
}
public function getExcess()
{
return $this->excess;
}
public function setExcess($excess)
{
$this->excess = $excess;
return $this;
}
}