wip: continue implementation
This commit is contained in:
1 parent
84ab6446ea
commit
6f989d4c7a
24 files changed
+444
-237
No files matched your search
@@ -2,10 +2,18 @@
|
||||
|
||||
namespace App\BusProNet\Model;
|
||||
|
||||
class Availability
|
||||
class Availability implements \JsonSerializable
|
||||
{
|
||||
public ?int $serviceId = null;
|
||||
public ?string $status = null;
|
||||
public ?int $available = null;
|
||||
public ?float $price = null;
|
||||
|
||||
public function jsonSerialize(): array
|
||||
{
|
||||
return [
|
||||
'id' => $this->serviceId,
|
||||
'available' => $this->available,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user