Logidav Docs

NewProductStat
in package

Tags
ORM\Table

(name="mz_new_product_stat")

ORM\Entity

(repositoryClass="AppBundle\Repository\NewProductStatRepository")

Table of Contents

Properties

$action  : string
$createdAt  : DateTime
$id  : int
$product  : mixed
$user  : mixed

Methods

getAction()  : string
getActionList()  : mixed|string|null
getCreatedAt()  : DateTime
getId()  : int
getProduct()  : Product
getUser()  : mixed
setAction()  : NewProductStat
setCreatedAt()  : NewProductStat
setProduct()  : NewProductStat
setUser()  : mixed

Properties

$action

private string $action
Tags
ORM\Column

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

$createdAt

private DateTime $createdAt
Tags
ORM\Column

(name="created_at", type="datetime", options={"default": "CURRENT_TIMESTAMP"})

$id

private int $id
Tags
ORM\Column

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

ORM\Id
ORM\GeneratedValue

(strategy="AUTO")

$product

private mixed $product
Tags
ORM\ManyToOne

(targetEntity="AppBundle\Entity\Product")

ORM\JoinColumn

(nullable=false)

$user

private mixed $user
Tags
ORM\ManyToOne

(targetEntity="UserBundle\Entity\User")

ORM\JoinColumn

(nullable=false)

Methods

getActionList()

public static getActionList([null $action = null ]) : mixed|string|null
Parameters
$action : null = null
Return values
mixed|string|null

getCreatedAt()

public getCreatedAt() : DateTime
Return values
DateTime

setUser()

public setUser(mixed $user) : mixed
Parameters
$user : mixed

        
On this page

Search results