This commit is contained in:
65
src/Entity/HlsCountry.php
Normal file
65
src/Entity/HlsCountry.php
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user