Logidav Docs

ProductPhoto
in package

ProductPhoto

Tags
ORM\Table

(name="mz_product_photo")

ORM\Entity

(repositoryClass="AppBundle\Repository\ProductPhotoRepository")

Table of Contents

Properties

$type  : mixed
$createdAt  : DateTime
$id  : int
$photo  : string
$product  : mixed

Methods

getCreatedAt()  : DateTime
Get createdAt
getId()  : int
getPhoto()  : string
getProduct()  : mixed
getType()  : string
Get type
setCreatedAt()  : ProductPhoto
Set createdAt
setId()  : mixed
setPhoto()  : mixed
setProduct()  : mixed

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

$photo

private string $photo
Tags
ORM\Column

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

$product

private mixed $product
Tags
ORM\ManyToOne

(targetEntity="Product", inversedBy="productphotos")

Methods

getCreatedAt()

Get createdAt

public getCreatedAt() : DateTime
Return values
DateTime

getPhoto()

public getPhoto() : string
Return values
string

getType()

Get type

public getType() : string
Return values
string

setId()

public setId(int $id) : mixed
Parameters
$id : int

setPhoto()

public setPhoto(string $photo) : mixed
Parameters
$photo : string

setProduct()

public setProduct(mixed $product) : mixed
Parameters
$product : mixed

        
On this page

Search results