Documentation

OfferShopifySlot
in package
implements JsonSerializable

Tags
ORM\Entity

(repositoryClass="Vatjar\Data\Repository\OfferShopifySlotRepository")

ORM\Table

(name="offer_shopify_slot")

Table of Contents

Interfaces

JsonSerializable

Properties

$id  : int|null
$offer  : Offer
$slotsCount  : int

Methods

__construct()  : mixed
getId()  : int|null
Get $id
getOffer()  : Offer
getSlotsCount()  : int
jsonSerialize()  : mixed
setId()  : void
setOffer()  : void
setSlotsCount()  : void

Properties

$id

private int|null $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

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

$offer

private Offer $offer
Tags
ORM\OneToOne

(targetEntity="Offer", inversedBy="offerShopifySlot")

ORM\JoinColumn

(name="offer_id", referencedColumnName="id", nullable=false)

$slotsCount

private int $slotsCount
Tags
ORM\Column

(type="integer", name="count", nullable=false)

Methods

setSlotsCount()

public setSlotsCount(int $slotsCount) : void
Parameters
$slotsCount : int

        
On this page

Search results