1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/app/Model/TaskMetadataModel.php
2016-07-23 14:11:39 +02:00

35 lines
536 B
PHP

<?php
namespace Kanboard\Model;
/**
* Task Metadata
*
* @package Kanboard\Model
* @author Frederic Guillot
*/
class TaskMetadataModel extends MetadataModel
{
/**
* Get the table
*
* @abstract
* @access protected
* @return string
*/
protected function getTable()
{
return 'task_has_metadata';
}
/**
* Define the entity key
*
* @access protected
* @return string
*/
protected function getEntityKey()
{
return 'task_id';
}
}