123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- /**
- * 员工提现管理
- * Created by PhpStorm.
- * User: 小威
- * Date: 2019/10/31
- * Time: 18:00
- */
- namespace JinDouYun\Dao\Department;
- use JinDouYun\Dao\BaseDao;
- class DStaffReflect extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'staff_reflect';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',// int(10) unsigned zerofill NOT NULL AUTO_INCREMENT COMMENT 'id',
- 'en_id',// int NOT NULL,
- 'staffId',// int NOT NULL COMMENT '客户id',
- 'userCenterId',// int NOT NULL COMMENT '账户id',
- 'reflectType',// char(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '提现类型',
- 'money',// decimal(15,2) DEFAULT NULL COMMENT '提现金额',
- 'reflectInfo',// json DEFAULT NULL COMMENT '提现信息',
- 'reflectStatus',// int DEFAULT '4' COMMENT '提现状态 5已打款/4未打款',
- 'auditStatus',// int DEFAULT '4' COMMENT '审核状态 5已审核/4未审核',
- 'createTime',// int NOT NULL COMMENT '创建时间',
- 'updateTime',// int DEFAULT NULL COMMENT '更新时间',
- 'extend',// json DEFAULT NULL COMMENT '扩展字段',
- 'remark',// text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '备注',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|