mirror of
https://github.com/Karaka-Management/oms-EquipmentManagement.git
synced 2026-02-16 10:18:41 +00:00
remove getId()
This commit is contained in:
parent
28f9162c10
commit
2951f6d275
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user