123456789101112131415161718192021222324252627282930313233 |
- <?php
- /**
- * 预约Dao
- * Created by PhpStorm.
- * User: 小威
- * Date: 2020/03/26
- * Time: 11:46
- */
- namespace JinDouYun\Dao\Manage;
- use JinDouYun\Dao\BaseDao;
- class DReservation extends BaseDao
- {
- public function __construct($serviceDB = 'manage')
- {
- $this->_table = 'reservation';
- $this->_primary = 'id';
- $this->_fields = [
- "id", //int(10) NOT NULL AUTO_INCREMENT COMMENT 'id',
- "mobile", //char(11) DEFAULT NULL COMMENT '手机号',
- "createTime", //int(10) DEFAULT NULL COMMENT '添加时间',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- ];
- $this->_update_autofill = [
- ];
- parent::__construct($serviceDB);
- }
- }
|