oms-Organization/Models/NullUnit.php

39 lines
679 B
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.4
*
* @package Modules\Organization\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
namespace Modules\Organization\Models;
/**
* Organization null class.
*
* @package Modules\Organization\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
final class NullUnit extends Unit
{
/**
* Constructor
*
* @param int $id Model id
*
* @since 1.0.0
*/
public function __construct(int $id = 0)
{
$this->id = $id;
}
}