oms-RiskManagement/Models/Process.php
2022-02-19 13:57:39 +01:00

75 lines
1.1 KiB
PHP
Executable File

<?php
/**
* Karaka
*
* PHP Version 8.0
*
* @package Modules\RiskManagement\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://karaka.app
*/
declare(strict_types=1);
namespace Modules\RiskManagement\Models;
use Modules\Organization\Models\Unit;
/**
* Risk Management class.
*
* @package Modules\RiskManagement\Models
* @license OMS License 1.0
* @link https://karaka.app
* @since 1.0.0
*/
class Process
{
/**
* ID.
*
* @var int
* @since 1.0.0
*/
protected int $id = 0;
public string $title = '';
/**
* Description.
*
* @var string
* @since 1.0.0
*/
public string $description = '';
/**
* Description.
*
* @var string
* @since 1.0.0
*/
public string $descriptionRaw = '';
public ?Department $department = null;
public ?int $responsible = null;
public ?int $deputy = null;
public ?Unit $unit = null;
/**
* Get id.
*
* @return int Model id
*
* @since 1.0.0
*/
public function getId() : int
{
return $this->id;
}
}