oms-Admin/Models/Contact.php
2024-03-20 07:21:20 +00:00

63 lines
963 B
PHP
Executable File

<?php
/**
* Jingga
*
* PHP Version 8.2
*
* @package Modules\Admin\Models
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
namespace Modules\Admin\Models;
/**
* Contact element class.
*
* Information such as phone number, email, ...
*
* @package Modules\Admin\Models
* @license OMS License 2.0
* @link https://jingga.app
* @since 1.0.0
*/
class Contact
{
/**
* ID.
*
* @var int
* @since 1.0.0
*/
public int $id = 0;
/**
* Contact element type.
*
* @var int
* @since 1.0.0
*/
public int $type = ContactType::EMAIL;
/**
* Contact element subtype.
*
* @var int
* @since 1.0.0
*/
public int $subtype = 0;
public string $title = '';
/**
* Content.
*
* @var string
* @since 1.0.0
*/
public string $content = '';
}