Logidav Docs

StatProductCreation
in package

ProductInfo

Tags
ORM\Table

(name="mz_stat_product_creation")

ORM\Entity

(repositoryClass="AppBundle\Repository\StatProductCreationRepository")

Table of Contents

Properties

$createdAt  : DateTime
$id  : int
$parentId  : int
$product  : mixed
$publishedAt  : DateTime
$status  : int
$user  : mixed

Methods

getCreatedAt()  : DateTime
getId()  : int
getParentId()  : int
getProduct()  : mixed
getPublishedAt()  : DateTime
getStatus()  : int
getUser()  : mixed
setCreatedAt()  : void
setId()  : void
setParentId()  : void
setProduct()  : void
setPublishedAt()  : void
setStatus()  : void
setUser()  : void

Properties

$createdAt

private DateTime $createdAt
Tags
ORM\Column

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

$id

private int $id
Tags
ORM\Column

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

ORM\Id
ORM\GeneratedValue

(strategy="AUTO")

$parentId

private int $parentId
Tags
ORM\Column

(name="parent_id", type="integer", nullable=true)

$product

private mixed $product
Tags
ORM\OneToOne

(targetEntity="Product")

ORM\JoinColumn

(name="product", referencedColumnName="id", onDelete="CASCADE")

$publishedAt

private DateTime $publishedAt
Tags
ORM\Column

(name="published_at", type="datetime", nullable=true, options={"default":null})

$status

private int $status = 0
Tags
ORM\Column

(name="status", type="integer", nullable=true, options={"default":0, "comment":"0 => created product | 1 => published product"})

$user

private mixed $user
Tags
ORM\ManyToOne

(targetEntity="UserBundle\Entity\User")

ORM\JoinColumn

(nullable=false)

Methods

setCreatedAt()

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

setPublishedAt()

public setPublishedAt(DateTime $publishedAt) : void
Parameters
$publishedAt : DateTime

        
On this page

Search results