1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- /**
- * 分销文字设置Dao
- * Created by PhpStorm.
- * User: haoren
- * Date: 2020/07/22
- * Time: 15:00
- */
- namespace JinDouYun\Dao\Commission;
- use JinDouYun\Dao\BaseDao;
- class DCommissionDesc extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'commission_desc';
- $this->_primary = 'id';
- $this->_fields = [
- "enterpriseId", //int(10) NOT NULL COMMENT '企业id',
- "desc", //json DEFAULT NULL COMMENT '文字设置内容',
- "createTime", //int(10) DEFAULT NULL COMMENT '创建时间',
- "updateTime", //int(10) DEFAULT NULL COMMENT '修改时间',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|