Kanboard-Prod/app/Model/UserMetadata.php

38 lines
542 B
PHP

<?php
namespace Kanboard\Model;
use Kanboard\Core\Base;
/**
* User Metadata
*
* @package model
* @author Frederic Guillot
*/
class UserMetadata extends Metadata
{
/**
* Get the table
*
* @abstract
* @access protected
* @return string
*/
protected function getTable()
{
return 'user_has_metadata';
}
/**
* Define the entity key
*
* @access protected
* @return string
*/
protected function getEntityKey()
{
return 'user_id';
}
}