BConnect POS - Reference PHP

SaleProductStock
in package

Attributes
#[Entity]
$repositoryClass: \App\Repository\SaleProductStockRepository::class

Table of Contents

Properties

$id  : int|null
$product  : Product|null
$product_stock  : ProductStock|null
$quantity  : int|null

Methods

getId()  : int|null
getProduct()  : Product|null
getProductStock()  : ProductStock|null
getQuantity()  : int|null
setProduct()  : static
setProductStock()  : static
setQuantity()  : static

Properties

$id

private int|null $id = null
Attributes
#[Column]
#[GeneratedValue]
#[Id]

$product

private Product|null $product = null
Attributes
#[ManyToOne]
$cascade: ['persist']
$inversedBy: 'saleProductStocks'

$product_stock

private ProductStock|null $product_stock = null
Attributes
#[ManyToOne]
$cascade: ['persist']
$inversedBy: 'saleProductStocks'

Methods

setQuantity()

public setQuantity(int $quantity) : static
Parameters
$quantity : int
Return values
static
On this page

Search results