Logidav Docs

ProductPriceLog
in package

ProductPriceLog

Tags
ORM\Table

(name="mz_product_price_log", indexes=(name="mz_product_price_log_created_at_idx", columns={"created_at"),@ORM\Index(name="mz_product_price_log_type_idx", columns={"type"}) })

ORM\Entity

(repositoryClass="AppBundle\Repository\ProductPriceLogRepository")

Table of Contents

Properties

$createdAt  : DateTime
$id  : int
$message  : string|null
$newPrice  : float
$oldPrice  : float
$product  : mixed
$promo  : int
$storeId  : int
$type  : string
$user  : mixed

Methods

getCreatedAt()  : DateTime
Get createdAt
getId()  : int
Get id
getMessage()  : string|null
getNewPrice()  : string
Get newPrice
getOldPrice()  : string
Get oldPrice
getProduct()  : Product
Get product
getPromo()  : int
Get promo
getStoreId()  : int
Get storeId
getType()  : string
Get type
getUser()  : User
Get user
setCreatedAt()  : ProductPriceLog
Set createdAt
setMessage()  : mixed
setNewPrice()  : ProductPriceLog
Set newPrice
setOldPrice()  : ProductPriceLog
Set oldPrice
setProduct()  : ProductPriceLog
Set product
setPromo()  : ProductPriceLog
Set promo
setStoreId()  : ProductPriceLog
Set storeId
setType()  : ProductPriceLog
Set type
setUser()  : ProductPriceLog
Set user

Properties

$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")

$message

private string|null $message
Tags
ORM\Column

(name="message", type="text", nullable=true, options={"comment": "Log infos"})

$newPrice

private float $newPrice
Tags
ORM\Column

(name="new_price", type="decimal", precision=12, scale=4, nullable=true, options={"default" = 0})

$oldPrice

private float $oldPrice
Tags
ORM\Column

(name="old_price", type="decimal", precision=12, scale=4, nullable=true, options={"default" = 0})

$product

private mixed $product
Tags
ORM\ManyToOne

(targetEntity="Product")

ORM\JoinColumn

(nullable=false)

$promo

private int $promo
Tags
ORM\Column

(name="promo", type="integer", nullable=true, options={"default" = 0})

$storeId

private int $storeId
Tags
ORM\Column

(name="store_id", type="integer", nullable=true, options={"default" = 0})

$type

private string $type
Tags
ORM\Column

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

$user

private mixed $user
Tags
ORM\ManyToOne

(targetEntity="UserBundle\Entity\User")

Methods

getCreatedAt()

Get createdAt

public getCreatedAt() : DateTime
Return values
DateTime

getMessage()

public getMessage() : string|null
Return values
string|null

getNewPrice()

Get newPrice

public getNewPrice() : string
Return values
string

getOldPrice()

Get oldPrice

public getOldPrice() : string
Return values
string

getStoreId()

Get storeId

public getStoreId() : int
Return values
int

setMessage()

public setMessage(string|null $message) : mixed
Parameters
$message : string|null

        
On this page

Search results