Logidav Docs

ProductWarehouse
in package

Tags
ORM\Entity

(repositoryClass="AppBundle\Repository\ProductWarehouseRepository")

ORM\Table

(name="mz_product_warehouse", uniqueConstraints=(columns={"product_id", "warehouse_id")})

Table of Contents

Properties

$id  : mixed
$product  : mixed
$quantity  : mixed
$warehouse  : mixed

Methods

getId()  : int
Get id
getProduct()  : Product
Get product
getQuantity()  : int
Get quantity
getWarehouse()  : Warehouse
Get warehouse
setProduct()  : ProductWarehouse
Set product
setQuantity()  : ProductWarehouse
Set quantity
setWarehouse()  : ProductWarehouse
Set warehouse

Properties

$id

private mixed $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer")

$product

private mixed $product
Tags
ORM\ManyToOne

(targetEntity="AppBundle\Entity\Product")

ORM\JoinColumn

(nullable=false)

$warehouse

private mixed $warehouse
Tags
ORM\ManyToOne

(targetEntity="AppBundle\Entity\Warehouse")

ORM\JoinColumn

(nullable=false)

Methods

getQuantity()

Get quantity

public getQuantity() : int
Return values
int

        
On this page

Search results