Logidav Docs

ProductInventory
in package

Product

Tags
ORM\Table

(name="mz_product_inventory", uniqueConstraints=(name="empUnique", columns={"product_id","emplacement_id")})

ORM\Entity

(repositoryClass="AppBundle\Repository\ProductInventoryRepository")

Serializer\ExclusionPolicy

("all")

ORM\HasLifecycleCallbacks

()

Table of Contents

Properties

$createdAt  : DateTime|null
$emplacement  : mixed
$id  : int|null
$isSync  : bool|null
$product  : mixed
$qty  : int|null

Methods

getCreatedAt()  : DateTime
getEmplacement()  : mixed
getId()  : int
getIsSync()  : bool|null
getProduct()  : Product
Get product
getQty()  : int
setCreatedAt()  : void
setCreatedAtValue()  : mixed
setEmplacement()  : ProductInventory
setId()  : void
setIsSync()  : void
setProduct()  : ProductInventory
Set product
setQty()  : void

Properties

$createdAt

private DateTime|null $createdAt
Tags
ORM\Column

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

$emplacement

private mixed $emplacement
Tags
ORM\ManyToOne

(targetEntity="Emplacement", inversedBy="products", cascade={"persist"})

$id

private int|null $id
Tags
ORM\Column

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

ORM\Id
ORM\GeneratedValue

(strategy="AUTO")

$isSync

private bool|null $isSync = 0
Tags
ORM\Column

(name="is_sync", type="boolean",nullable=true, options={"default":0})

$product

private mixed $product
Tags
ORM\ManyToOne

(targetEntity="Product")

ORM\JoinColumn

(nullable=false)

Methods

setCreatedAt()

public setCreatedAt(string $createdAt) : void
Parameters
$createdAt : string

setCreatedAtValue()

public setCreatedAtValue() : mixed
Tags
ORM\PreUpdate
ORM\PrePersist

setIsSync()

public setIsSync(bool|null $isSync) : void
Parameters
$isSync : bool|null

        
On this page

Search results