remove getId()

This commit is contained in:
Dennis Eichhorn 2023-05-30 02:37:01 +02:00
parent 28f9162c10
commit 2951f6d275

View File

@ -14,7 +14,7 @@ declare(strict_types=1);
namespace Modules\FleetManagement\Models; namespace Modules\FleetManagement\Models;
use phpOMS\Localization\BaseStringL11n; use phpOMS\Localization\BaseStringL11nType;
/** /**
* Vehicle class. * Vehicle class.
@ -32,9 +32,9 @@ class Vehicle implements \JsonSerializable
public int $status = VehicleStatus::ACTIVE; public int $status = VehicleStatus::ACTIVE;
public BaseStringL11n $type; public BaseStringL11nType $type;
public FuelType $fuelType; public BaseStringL11nType $fuelType;
public string $info = ''; public string $info = '';
@ -55,8 +55,8 @@ class Vehicle implements \JsonSerializable
public function __construct() public function __construct()
{ {
$this->createdAt = new \DateTimeImmutable('now'); $this->createdAt = new \DateTimeImmutable('now');
$this->type = new BaseStringL11n(); $this->type = new BaseStringL11nType();
$this->fuelType = new FuelType(); $this->fuelType = new BaseStringL11nType();
} }
/** /**