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

class UserPreference extends TActiveRecord {

    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);
    }

}

?>