123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Gss
- * Date: 2021/3/10 0010
- * Time: 15:34
- */
- namespace JinDouYun\Dao\Finance;
- use JinDouYun\Dao\BaseDao;
- class DPaidOffset extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'qianniao_paid_offset_1';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',//int(10) NOT NULL COMMENT '自增id',
- 'payReceiptId',//int(10) NOT NULL COMMENT '应付单id',
- 'paidId',//int(10) NOT NULL COMMENT '付款单id',
- 'offsetMoney',//decimal(15,4) DEFAULT NULL COMMENT '核销金额',
- 'createTime',//int(10) DEFAULT NULL,
- 'updateTime',//int(10) DEFAULT NULL,
- 'extends',//json DEFAULT NULL,
- 'payCreateTime'//应付创建时间
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|