CMSOrderAudit.php 528 B

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