123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- namespace JinDouYun\Dao\System;
- use JinDouYun\Dao\BaseDao;
- /**
- * @copyright Copyright (c) https://www.qianniaovip.com All rights reserved
- * Description: 语音设置
- * Class DNoticeSetting
- * @package JinDouYun\Dao\System
- */
- class DNoticeSetting extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'notice_setting';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',//int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
- 'content',//json DEFAULT NULL COMMENT '配置内容',
- 'enterpriseId',
- 'extend',//json DEFAULT NULL COMMENT '扩展字段',
- 'createTime',//int(11) DEFAULT NULL COMMENT '创建时间',
- 'updateTime',//int(11) DEFAULT NULL COMMENT '修改时间',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|