DReservation.Class.php 755 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * 预约Dao
  4. * Created by PhpStorm.
  5. * User: 小威
  6. * Date: 2020/03/26
  7. * Time: 11:46
  8. */
  9. namespace JinDouYun\Dao\Manage;
  10. use JinDouYun\Dao\BaseDao;
  11. class DReservation extends BaseDao
  12. {
  13. public function __construct($serviceDB = 'manage')
  14. {
  15. $this->_table = 'reservation';
  16. $this->_primary = 'id';
  17. $this->_fields = [
  18. "id", //int(10) NOT NULL AUTO_INCREMENT COMMENT 'id',
  19. "mobile", //char(11) DEFAULT NULL COMMENT '手机号',
  20. "createTime", //int(10) DEFAULT NULL COMMENT '添加时间',
  21. ];
  22. $this->_readonly = ['id'];
  23. $this->_create_autofill = [
  24. ];
  25. $this->_update_autofill = [
  26. ];
  27. parent::__construct($serviceDB);
  28. }
  29. }