oms-Profile/Models/ContactElementMapper.php
2019-07-08 19:51:27 +02:00

47 lines
925 B
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.2
*
* @package TBD
* @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;
use phpOMS\DataStorage\Database\DataMapperAbstract;
final class ContactElementMapper extends DataMapperAbstract
{
/**
* Columns.
*
* @var array<string, array<string, bool|string>>
* @since 1.0.0
*/
protected static $columns = [
'profile_contact_id' => ['name' => 'profile_contact_id', 'type' => 'int', 'internal' => 'id'],
];
/**
* Primary table.
*
* @var string
* @since 1.0.0
*/
protected static $table = 'profile_contact';
/**
* Primary field name.
*
* @var string
* @since 1.0.0
*/
protected static $primaryField = 'profile_contact_id';
}