Documentation

CountryVatTypes
in package
implements JsonSerializable

Class CountryVatTypes

Tags
ORM\Entity

()

ORM\Table

(name="product_country_vattype")

Table of Contents

Interfaces

JsonSerializable

Properties

$country  : Country
$id  : int|null
$product  : Product
$vatType  : VatType

Methods

getCountry()  : Country
getId()  : int|null
Get $id
getProduct()  : Product|null
getVatType()  : VatType
jsonSerialize()  : array<string|int, mixed>
setCountry()  : void
setProduct()  : mixed
setVatType()  : void

Properties

$country

private Country $country
Tags
ORM\ManyToOne

(targetEntity="Country", inversedBy="country")

ORM\JoinColumn

(name="country_id", referencedColumnName="id")

$id

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

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

$product

private Product $product
Tags
ORM\ManyToOne

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

ORM\JoinColumn

(name="product_id", referencedColumnName="id")

$vatType

private VatType $vatType
Tags
ORM\ManyToOne

(targetEntity="VatType", inversedBy="vatType")

ORM\JoinColumn

(name="vat_type_id", referencedColumnName="id")

Methods

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results