oms-RiskManagement/Models/Cause.php
2022-12-16 21:59:21 +01:00

73 lines
1.1 KiB
PHP
Executable File

<?php
/**
* Karaka
*
* PHP Version 8.1
*
* @package Modules\RiskManagement\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
namespace Modules\RiskManagement\Models;
/**
* Risk Management class.
*
* @package Modules\RiskManagement\Models
* @license OMS License 1.0
* @link https://jingga.app
* @since 1.0.0
*/
class Cause
{
/**
* 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 int $probability = 0;
public ?Department $department = null;
public ?Risk $risk = null;
public ?Category $category = null;
/**
* Get id.
*
* @return int Model id
*
* @since 1.0.0
*/
public function getId() : int
{
return $this->id;
}
}