summaryrefslogtreecommitdiff
path: root/app/php/model/UserPreference.php
blob: 90fa221e78586fbd072aeb2efa54e89d177d0cd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

Prado::using('Application.db.ActiveRecord');

class UserPreference extends ActiveRecord {

    const TABLE = 'user_selections';

    public $UserID;
    public $CalendarID;

    public static $COLUMN_MAPPING = [
        '_user' => 'UserID',
        '_calendar' => 'CalendarID'
    ];

    public static function finder($className=__CLASS__) {
        return parent::finder($className);
    }

}

?>