Neue Tabellen
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
dotworker
2023-01-10 10:36:02 +01:00
parent 2be165a8c1
commit f7b2a93197
4 changed files with 313 additions and 4 deletions

65
src/Entity/HlsCountry.php Normal file
View File

@@ -0,0 +1,65 @@
<?php
namespace App\Entity;
use App\Repository\HlsCountryRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: HlsCountryRepository::class)]
class HlsCountry
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $short_name = null;
#[ORM\Column(length: 255)]
private ?string $short_iso = null;
#[ORM\Column(length: 255)]
private ?string $name = null;
public function getId(): ?int
{
return $this->id;
}
public function getShortName(): ?string
{
return $this->short_name;
}
public function setShortName(string $short_name): self
{
$this->short_name = $short_name;
return $this;
}
public function getShortIso(): ?string
{
return $this->short_iso;
}
public function setShortIso(string $short_iso): self
{
$this->short_iso = $short_iso;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
}