Logidav Docs

InternalStockHistory extends AbstractEntity
in package

Abstract class for entity hydrator

Tags
ORM\Table

(name="mz_asir_internal_stock_history")

ORM\Entity

(repositoryClass="AppBundle\Repository\InternalStockHistoryRepository")

Table of Contents

Properties

$action  : string
$createdAt  : DateTime
$id  : int
$msg  : string
$newQty  : string
$oldQty  : string
$product  : mixed
$sale  : mixed
$user  : mixed

Methods

getAction()  : string
Get action
getActionLabel()  : mixed
getCreatedAt()  : DateTime
Get createdAt
getId()  : int
Get id
getMsg()  : string
Get msg
getNewQty()  : string
Get newQty
getOldQty()  : string
Get oldQty
getProduct()  : Product
Get product
getQty()  : int
Get qty
getSale()  : Sale
Get sale
getUser()  : User
Get user
populate()  : void
Populate data into the entity
setAction()  : ProductQtyLog
Set action
setCreatedAt()  : ProductQtyLog
Set createdAt
setMsg()  : ProductQtyLog
Set msg
setNewQty()  : ProductQtyLog
Set newQty
setOldQty()  : ProductQtyLog
Set oldQty
setProduct()  : ProductQtyLog
Set product
setQty()  : ProductQtyLog
Set qty
setSale()  : ProductQtyLog
Set sale
setUser()  : ProductQtyLog
Set user

Properties

$action

private string $action
Tags
ORM\Column

(name="action", type="string", length=255, nullable=true)

$createdAt

private DateTime $createdAt
Tags
ORM\Column

(name="created_at", type="datetime")

$id

private int $id
Tags
ORM\Column

(name="id", type="integer")

ORM\Id
ORM\GeneratedValue

(strategy="AUTO")

$newQty

private string $newQty
Tags
ORM\Column

(name="new_qty", type="string", length=255, nullable=true)

$oldQty

private string $oldQty
Tags
ORM\Column

(name="old_qty", type="string", length=255, nullable=true)

$product

private mixed $product
Tags
ORM\ManyToOne

(targetEntity="Product")

ORM\JoinColumn

(nullable=false)

$sale

private mixed $sale
Tags
ORM\ManyToOne

(targetEntity="Sale")

ORM\JoinColumn

(nullable=true)

Methods

getActionLabel()

public static getActionLabel([mixed $method = null ]) : mixed
Parameters
$method : mixed = null

populate()

Populate data into the entity

public populate(array<string|int, mixed> $data, mixed $classMetaData, mixed $em, mixed $arrayAlias) : void
Parameters
$data : array<string|int, mixed>
$classMetaData : mixed
$em : mixed
$arrayAlias : mixed

        
On this page

Search results