123456789101112131415161718192021222324252627 |
- <?php
- /**
- * 消息通知模型类
- * @author jiangfei
- * @date 2015-10-16 10:30:00
- * @company 上海风车教育有限公司.
- */
- class ClientNotifyModel extends BusinessActiveRecord{
-
- public static function model($className = __CLASS__){
- return parent::model($className);
- }
- public function tableName(){
- return 'client_notify';
- }
- public function InsertByData($data){
- if($this->getDbConnection()->createCommand()->insert('client_notify',$data)){
- return true;
- }else{
- return false;
- }
- }
- }
|