STopicWord.php 452 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Created by 上海互教教育科技有限公司.
  4. * User: 刘红伟
  5. * QQ : 454303753
  6. * Date: 2017/8/14 0014
  7. * Time: 下午 16:32
  8. */
  9. class STopicWord extends MyActiveRecord
  10. {
  11. public static function model($className = __CLASS__)
  12. {
  13. return parent::model($className);
  14. }
  15. public function tableName()
  16. {
  17. return 'topic_word';
  18. }
  19. public function primaryKey(){
  20. return array('word_id');
  21. }
  22. }