BConnect POS - Reference PHP

InventoryStock
in package

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

Table of Contents

Properties

$archiveStatus  : bool|null
$created_at  : DateTime|null
$id  : int|null
$name  : string|null
$pointOfSaleId  : int|null
$productStockInventories  : Collection
$updated_at  : DateTimeImmutable|null
$user  : User|null

Methods

__construct()  : mixed
addProductStockInventory()  : static
getCreatedAt()  : DateTime|null
getId()  : int|null
getName()  : string|null
getPointOfSaleId()  : int|null
getProductStockInventories()  : Collection<int, ProductStockInventory>
getUpdatedAt()  : DateTimeImmutable|null
getUser()  : User|null
isArchiveStatus()  : bool|null
removeProductStockInventory()  : static
setArchiveStatus()  : static
setCreatedAt()  : static
setName()  : static
setPointOfSaleId()  : static
setUpdatedAt()  : static
setUser()  : static

Properties

$archiveStatus

private bool|null $archiveStatus = null
Attributes
#[Column]

$created_at

private DateTime|null $created_at = null
Attributes
#[Column]

$id

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

$name

private string|null $name = null
Attributes
#[Column]
$length: 255

$pointOfSaleId

private int|null $pointOfSaleId = null
Attributes
#[Column]

$productStockInventories

private Collection $productStockInventories
Attributes
#[OneToMany]
$mappedBy: 'inventory_stock'
$targetEntity: \App\Entity\ProductStockInventory::class
$cascade: ['persist']

$updated_at

private DateTimeImmutable|null $updated_at = null
Attributes
#[Column]

$user

private User|null $user = null
Attributes
#[ManyToOne]
$inversedBy: 'inventoryStocks'

Methods

getCreatedAt()

public getCreatedAt() : DateTime|null
Return values
DateTime|null

getName()

public getName() : string|null
Return values
string|null

getPointOfSaleId()

public getPointOfSaleId() : int|null
Return values
int|null

getUpdatedAt()

public getUpdatedAt() : DateTimeImmutable|null
Return values
DateTimeImmutable|null

isArchiveStatus()

public isArchiveStatus() : bool|null
Return values
bool|null

setArchiveStatus()

public setArchiveStatus(bool $archiveStatus) : static
Parameters
$archiveStatus : bool
Return values
static

setCreatedAt()

public setCreatedAt(DateTime $created_at) : static
Parameters
$created_at : DateTime
Return values
static

setName()

public setName(string $name) : static
Parameters
$name : string
Return values
static

setPointOfSaleId()

public setPointOfSaleId(int $pointOfSaleId) : static
Parameters
$pointOfSaleId : int
Return values
static

setUpdatedAt()

public setUpdatedAt(DateTimeImmutable $updated_at) : static
Parameters
$updated_at : DateTimeImmutable
Return values
static
On this page

Search results