oms-EquipmentManagement/Models/CostType.php
Dennis Eichhorn d01329f267
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled
fix permissions
2025-04-02 14:15:05 +00:00

49 lines
797 B
PHP

<?php
/**
* Jingga
*
* PHP Version 8.2
*
* @package Modules\EquipmentManagement\Models
* @copyright Dennis Eichhorn
* @license OMS License 2.2
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
namespace Modules\EquipmentManagement\Models;
/**
* class.
*
* @package Modules\Attribute\Models
* @license OMS License 2.2
* @link https://jingga.app
* @since 1.0.0
*/
class CostType implements \JsonSerializable
{
public int $id = 0;
public string $name = '';
/**
* {@inheritdoc}
*/
public function toArray() : array
{
return [
'id' => $this->id,
];
}
/**
* {@inheritdoc}
*/
public function jsonSerialize() : mixed
{
return $this->toArray();
}
}