InventoryStock
-
#[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
$archiveStatus
private
bool|null
$archiveStatus
= null
$created_at
private
DateTime|null
$created_at
= null
$id
private
int|null
$id
= null
-
#[Column]
-
#[GeneratedValue]
-
#[Id]
$name
private
string|null
$name
= null
$pointOfSaleId
private
int|null
$pointOfSaleId
= null
$productStockInventories
private
Collection
$productStockInventories
-
#[OneToMany]
-
$mappedBy: 'inventory_stock'
-
$targetEntity: \App\Entity\ProductStockInventory::class
-
$cascade: ['persist']
$updated_at
private
DateTimeImmutable|null
$updated_at
= null
$user
private
User|null
$user
= null
-
#[ManyToOne]
-
$inversedBy: 'inventoryStocks'
__construct()
public
__construct() : mixed
addProductStockInventory()
public
addProductStockInventory(ProductStockInventory $productStockInventory) : static
Parameters
-
$productStockInventory
: ProductStockInventory
-
getCreatedAt()
public
getCreatedAt() : DateTime|null
Return values
DateTime|null
getId()
public
getId() : int|null
getName()
public
getName() : string|null
Return values
string|null
getPointOfSaleId()
public
getPointOfSaleId() : int|null
getProductStockInventories()
public
getProductStockInventories() : Collection<int, ProductStockInventory>
getUpdatedAt()
public
getUpdatedAt() : DateTimeImmutable|null
Return values
DateTimeImmutable|null
getUser()
public
getUser() : User|null
isArchiveStatus()
public
isArchiveStatus() : bool|null
removeProductStockInventory()
public
removeProductStockInventory(ProductStockInventory $productStockInventory) : static
Parameters
-
$productStockInventory
: ProductStockInventory
-
setArchiveStatus()
public
setArchiveStatus(bool $archiveStatus) : static
Parameters
-
$archiveStatus
: bool
-
setCreatedAt()
public
setCreatedAt(DateTime $created_at) : static
Parameters
-
$created_at
: DateTime
-
setName()
public
setName(string $name) : static
Parameters
-
$name
: string
-
setPointOfSaleId()
public
setPointOfSaleId(int $pointOfSaleId) : static
Parameters
-
$pointOfSaleId
: int
-
setUpdatedAt()
public
setUpdatedAt(DateTimeImmutable $updated_at) : static
Parameters
-
$updated_at
: DateTimeImmutable
-
setUser()
public
setUser(User|null $user) : static
Parameters
-
$user
: User|null
-