CMSOrderGoodsSubject.php 498 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Created by 上海互教教育科技有限公司.
  4. * User: 刘红伟
  5. * Date: 2016/7/20
  6. * Email: 454303753@qq.com
  7. * File:CMSOrderGoodsSubject.php
  8. */
  9. class CMSOrderGoodsSubject extends CActiveRecord
  10. {
  11. public function getDbConnection()
  12. {
  13. return Yii::app()->db251;
  14. }
  15. public static function model($className = __CLASS__)
  16. {
  17. return parent::model($className);
  18. }
  19. public function tableName()
  20. {
  21. return "order_goods_subject";
  22. }
  23. }