<?php class PaperTopicRelation extends MyActiveRecord{ public static function model($className = __CLASS__){ return parent::model($className); } public function tableName(){ return 'paper_topic_relation'; } }