Initial commit

This commit is contained in:
2022-03-25 16:42:41 +01:00
commit 34685838bc
235 changed files with 12766 additions and 0 deletions
View File
+77
View File
@@ -0,0 +1,77 @@
<?php
namespace App\Entity;
use App\Repository\ExchangeRatesRepository;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\ORM\Mapping\Index;
/**
* @ORM\Entity(repositoryClass=ExchangeRatesRepository::class)
* @ORM\Table(indexes={@Index(name="currency", columns={"date_date","str_currency"})})
*/
class ExchangeRates
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=3)
*/
private $strCurrency;
/**
* @ORM\Column(type="float")
*/
private $intRate;
/**
* @ORM\Column(type="date")
*/
private $dateDate;
public function getId(): ?int
{
return $this->id;
}
public function getStrCurrency(): ?string
{
return $this->strCurrency;
}
public function setStrCurrency(string $strCurrency): self
{
$this->strCurrency = $strCurrency;
return $this;
}
public function getIntRate(): ?float
{
return $this->intRate;
}
public function setIntRate(float $intRate): self
{
$this->intRate = $intRate;
return $this;
}
public function getDateDate(): ?\DateTimeInterface
{
return $this->dateDate;
}
public function setDateDate(\DateTimeInterface $dateDate): self
{
$this->dateDate = $dateDate;
return $this;
}
}