Documentation

ProductSold
in package
Uses Sellable, Commentable

Tags
ORM\Entity

(repositoryClass="AppBundle\Repository\ProductRepository")

Table of Contents

Properties

$sellRecords  : mixed
the stack of products for one client at one time
$comment  : mixed
$id  : mixed
$image  : mixed
$name  : mixed
$price  : mixed
$product  : mixed
references the product from whom this line is inspired
$user  : mixed

Methods

getComment()  : mixed
getId()  : int
Get id.
getImage()  : string
Get image.
getName()  : string
Get name.
getPrice()  : mixed
getProduct()  : Product|null
Get product.
getSellRecords()  : SellRecord|null
Get sellRecords.
getUser()  : User|null
Get user.
setComment()  : mixed
setImage()  : ProductSold
Set image.
setName()  : ProductSold
Set name.
setPrice()  : mixed
setProduct()  : ProductSold
Set product.
setSellRecords()  : ProductSold
Set sellRecords.
setUser()  : ProductSold
Set user.

Properties

$sellRecords

the stack of products for one client at one time

public mixed $sellRecords
Tags
ORM\ManyToOne

(targetEntity="SellRecord", inversedBy="productsSold")

$comment

private mixed $comment
Tags
ORM\Column

(type="string", length=256 , nullable=true)

$id

private mixed $id
Tags
ORM\Column

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

ORM\Id
ORM\GeneratedValue

(strategy="AUTO")

$image

private mixed $image
Tags
ORM\Column

(type="string", length=256)

$name

private mixed $name
Tags
ORM\Column

(type="string", length=100)

$price

private mixed $price
Tags
ORM\Column

(type="decimal", scale=2, nullable=true)

$product

references the product from whom this line is inspired

private mixed $product
Tags
ORM\ManyToOne

(targetEntity="AppBundle\Entity\Product", inversedBy="productsSold")

$user

private mixed $user
Tags
ORM\ManyToOne

(targetEntity="AppBundle\Entity\User", inversedBy="productsSold")

Methods

getId()

Get id.

public getId() : int
Return values
int

getImage()

Get image.

public getImage() : string
Return values
string

getName()

Get name.

public getName() : string
Return values
string

setComment()

public setComment(mixed $comment) : mixed
Parameters
$comment : mixed

setPrice()

public setPrice(mixed $price) : mixed
Parameters
$price : mixed

        
On this page

Search results