* @copyright 2018 Stud.IP Core-Group * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @category Stud.IP * @since 4.4 * * @property array $id alias for pk * @property string $selection_id database column * @property string $course_id database column * @property int|null $mkdate database column * @property int|null $chdate database column * @property MvvOverlappingSelection $selection belongs_to MvvOverlappingSelection * @property Course $course belongs_to Course */ class MvvOverlappingExclude extends SimpleORMap { /** * Configures the model. * * @param array $config Configuration */ protected static function configure($config = array()) { $config['db_table'] = 'mvv_ovl_excludes'; $config['belongs_to']['selection'] = [ 'class_name' => MvvOverlappingSelection::class, 'foreign_key' => 'selection_id' ]; $config['belongs_to']['course'] = [ 'class_name' => Course::class, 'foreign_key' => 'course_id' ]; parent::configure($config); } }