oms-Admin/Models/App.php
2021-09-25 14:48:53 +02:00

72 lines
1.0 KiB
PHP

<?php
/**
* Orange Management
*
* PHP Version 8.0
*
* @package Modules\Admin\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
namespace Modules\Admin\Models;
use phpOMS\Application\ApplicationStatus;
/**
* App model.
*
* @package Modules\Admin\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class App
{
/**
* Id
*
* @var int
* @since 1.0.0
*/
protected int $id = 0;
/**
* Name
*
* @var string
* @since 1.0.0
*/
public string $name = '';
/**
* Theme
*
* @var string
* @since 1.0.0
*/
public string $theme = '';
/**
* Status
*
* @var int
* @since 1.0.0
*/
public int $status = ApplicationStatus::NORMAL;
/**
* Get id
*
* @return int
*
* @since 1.0.0
*/
public function getId() : int
{
return $this->id;
}
}