1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- namespace JinDouYun\Dao\System;
- use JinDouYun\Dao\BaseDao;
- /**
- * Description:
- * Class DDeliverySelfRule
- * @package JinDouYun\Dao\System
- */
- class DDeliverySelfRule extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'delivery_self_rule';
- $this->_primary = 'id';
- $this->_fields = [
- "id",//int(10) NOT NULL AUTO_INCREMENT,
- "setData",//json DEFAULT NULL COMMENT '配置详情',
- "deleteStatus",//tinyint(3) NOT NULL DEFAULT '5' COMMENT '是否删除 默认5 正常 4删除',
- "extends",//json DEFAULT NULL COMMENT '拓展字段',
- "createTime",//int(10) NOT NULL DEFAULT '0' COMMENT '创建时间',
- "updateTime",//int(10) NOT NULL DEFAULT '0' COMMENT '更新时间',
- "enableStatus",
- "shopId"
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|