summaryrefslogtreecommitdiff
path: root/app/Model/TaskMetadataModel.php
blob: dc3f56ec449e28af13c0287d7227ade4159dfe1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?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';
    }
}