DJoin.Class.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * 加盟Dao
  4. * Created by PhpStorm.
  5. * User: 小威
  6. * Date: 2020/03/25
  7. * Time: 16:22
  8. */
  9. namespace JinDouYun\Dao\Manage;
  10. use JinDouYun\Dao\BaseDao;
  11. class DJoin extends BaseDao
  12. {
  13. public function __construct($serviceDB = 'manage')
  14. {
  15. $this->_table = 'join';
  16. $this->_primary = 'id';
  17. $this->_fields = [
  18. "id", //int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
  19. "name", //varchar(255) DEFAULT NULL COMMENT '姓名',
  20. "enterpriseName", //varchar(255) DEFAULT NULL COMMENT '公司',
  21. "position", //varchar(255) DEFAULT NULL COMMENT '职位',
  22. "mobile", //char(11) NOT NULL COMMENT '联系电话',
  23. "createTime", //int(10) DEFAULT NULL COMMENT '创建时间',
  24. "updateTime", //int(10) DEFAULT NULL COMMENT '修改时间',
  25. "provinceCode", //varchar(20) DEFAULT NULL COMMENT '省编码',
  26. "cityCode", //varchar(20) DEFAULT NULL COMMENT '市编码',
  27. "districtCode", //varchar(20) DEFAULT NULL COMMENT '区编码',
  28. "address", //varchar(100) DEFAULT NULL COMMENT '详细地址',
  29. ];
  30. $this->_readonly = ['id'];
  31. $this->_create_autofill = [
  32. ];
  33. $this->_update_autofill = [
  34. ];
  35. parent::__construct($serviceDB);
  36. }
  37. }