12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Gss
- * Date: 2021/3/27 0027
- * Time: 16:14
- */
- namespace JinDouYun\Dao\Customer;
- use JinDouYun\Dao\BaseDao;
- class DReflectDetail extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'qianniao_reflect_detail_1';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',//int(10) unsigned zerofill NOT NULL COMMENT 'id',
- 'customerId',//int(10) NOT NULL COMMENT '客户id',
- 'userCenterId',//int(10) NOT NULL COMMENT '账户id',
- 'reflectType',//char(50) NOT NULL COMMENT '提现类型',
- 'money',//decimal(15,2) DEFAULT '0.00' COMMENT '提现金额',
- 'reflectInfo',// json DEFAULT NULL COMMENT '提现信息',
- 'reflectStatus',//int(1) DEFAULT '4' COMMENT '提现状态 5已打款/4未打款',
- 'auditStatus',//int(1) DEFAULT '4' COMMENT '审核状态 5已审核/4未审核',
- 'createTime',//int(10) NOT NULL COMMENT '创建时间',
- 'updateTime',//int(10) DEFAULT NULL COMMENT '更新时间',
- 'extend',//json DEFAULT NULL COMMENT '扩展字段',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|