1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- /**
- * Created by PhpStorm.
- * User: wxj
- * Date: 2019/10/30
- * Time: 14:17
- */
- namespace Jobs\Dao\Finance;
- use Jobs\Dao\BaseDao;
- class DReceiveReceiptIndex extends BaseDao
- {
- public function __construct($serviceDB = 'default')
- {
- $this->_table = 'receive_receipt_index_1';
- $this->_primary = 'id';
- $this->_fields = [
- 'id',//int(11) NOT NULL AUTO_INCREMENT COMMENT '应收索引表id',
- 'receiveReceiptId',//int(11) NOT NULL COMMENT '应收单据id',
- 'createTime',//int(11) NOT NULL COMMENT '创建时间',
- 'updateTime',//int(11) NOT NULL COMMENT '修改时间',
- 'shopId',//int(11) DEFAULT NULL COMMENT '商铺id',
- 'financeTypeId',//tinyint(2) DEFAULT NULL COMMENT '财务类型id',
- 'financeType',//varchar(50) DEFAULT NULL COMMENT '财务类型名称',
- 'auditStatus',//tinyint(1) DEFAULT NULL COMMENT '单据状态',
- 'customerId',//int(11) DEFAULT NULL COMMENT '客户id',
- 'sourceNo',//varchar(50) DEFAULT NULL COMMENT '订单编号',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- 'createTime' => time()
- ];
- $this->_update_autofill = [
- 'updateTime' => time()
- ];
- parent::__construct($serviceDB);
- }
- }
|