Documentation

CurrencyRate
in package

Tags
ORM\Table

(name="currency_rate")

ORM\Entity

(repositoryClass="Vatjar\Data\Repository\CurrencyRateRepository") Class CurrencyRate

Table of Contents

Properties

$currency  : Currency|null
$date  : DateTime
$id  : int|null
$rate  : string

Methods

getCurrency()  : Currency|null
Get $currency
getDate()  : DateTime
Get the value of date
getRate()  : string
Get the value of rate

Properties

$currency

private Currency|null $currency
Tags
ORM\ManyToOne

(targetEntity="Currency", inversedBy="countries")

ORM\JoinColumn

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

$date

private DateTime $date
Tags
ORM\Column

(name="date", type="datetime")

$id

private int|null $id
Tags
ORM\GeneratedValue

()

ORM\Id

()

ORM\Column

(type="integer")

$rate

private string $rate
Tags
ORM\Column

(name="rate", type="string")

Methods

getDate()

Get the value of date

public getDate() : DateTime
Return values
DateTime

getRate()

Get the value of rate

public getRate() : string
Return values
string

        
On this page

Search results