60 lines
1010 B
PHP
60 lines
1010 B
PHP
<?php
|
|
|
|
namespace App\BusProNet\Model;
|
|
|
|
class Country
|
|
{
|
|
private ?int $id = null;
|
|
private ?string $name = null;
|
|
private ?string $token = null;
|
|
private ?string $nationality = null;
|
|
|
|
public function getId(): ?int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function setId(?int $id): static
|
|
{
|
|
$this->id = $id;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getName(): ?string
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
public function setName(?string $name): static
|
|
{
|
|
$this->name = $name;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getToken(): ?string
|
|
{
|
|
return $this->token;
|
|
}
|
|
|
|
public function setToken(?string $token): static
|
|
{
|
|
$this->token = $token;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getNationality(): ?string
|
|
{
|
|
return $this->nationality;
|
|
}
|
|
|
|
public function setNationality(?string $nationality): static
|
|
{
|
|
$this->nationality = $nationality;
|
|
|
|
return $this;
|
|
}
|
|
}
|