1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- /**
- * 加盟Dao
- * Created by PhpStorm.
- * User: 小威
- * Date: 2020/03/25
- * Time: 16:22
- */
- namespace JinDouYun\Dao\Manage;
- use JinDouYun\Dao\BaseDao;
- class DJoin extends BaseDao
- {
- public function __construct($serviceDB = 'manage')
- {
- $this->_table = 'join';
- $this->_primary = 'id';
- $this->_fields = [
- "id", //int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
- "name", //varchar(255) DEFAULT NULL COMMENT '姓名',
- "enterpriseName", //varchar(255) DEFAULT NULL COMMENT '公司',
- "position", //varchar(255) DEFAULT NULL COMMENT '职位',
- "mobile", //char(11) NOT NULL COMMENT '联系电话',
- "createTime", //int(10) DEFAULT NULL COMMENT '创建时间',
- "updateTime", //int(10) DEFAULT NULL COMMENT '修改时间',
- "provinceCode", //varchar(20) DEFAULT NULL COMMENT '省编码',
- "cityCode", //varchar(20) DEFAULT NULL COMMENT '市编码',
- "districtCode", //varchar(20) DEFAULT NULL COMMENT '区编码',
- "address", //varchar(100) DEFAULT NULL COMMENT '详细地址',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- ];
- $this->_update_autofill = [
- ];
- parent::__construct($serviceDB);
- }
- }
|