oms-Profile/Models/ContactElement.php
2019-10-06 17:50:12 +02:00

116 lines
1.9 KiB
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.4
*
* @package Modules\Profile\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
namespace Modules\Profile\Models;
/**
* Account class.
*
* @package Modules\Profile\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class ContactElement
{
/**
* ID.
*
* @var int
* @since 1.0.0
*/
protected int $id = 0;
private int $type = 0;
private $subtype = 0;
private $value = '';
/**
* Description.
*
* @var string
* @since 1.0.0
*/
private string $description = '';
/**
* Get id.
*
* @return int Model id
*
* @since 1.0.0
*/
public function getId() : int
{
return $this->id;
}
public function setType(int $type) : void
{
$this->type = $type;
}
public function getType() : int
{
return $this->type;
}
public function setSubtype(int $type) : void
{
$this->subtype = $type;
}
public function getSubtype() : int
{
return $this->subtype;
}
public function getValue() : string
{
return $this->value;
}
public function setValue(string $value) : void
{
$this->value = $value;
}
/**
* Get description
*
* @return string
*
* @since 1.0.0
*/
public function getDescription() : string
{
return $this->description;
}
/**
* Set description
*
* @param string $description Description
*
* @return void
*
* @since 1.0.0
*/
public function setDescription(string $description) : void
{
$this->description = $description;
}
}