1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- /**
- * Created by PhpStorm.
- * User: XiaoMing
- * Date: 2020/1/3
- * Time: 16:10
- */
- namespace Jobs\Dao;
- class DPriceLog extends BaseDao
- {
- public function __construct($serviceDB = 'log')
- {
- $this->_table = 'price_log';
- $this->_primary = 'id';
- $this->_fields = [
- "id",//int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
- "enterpriseId",//int(11) NOT NULL COMMENT '企业id',
- "userCenterId",//int(11) DEFAULT NULL COMMENT 'userCenterId',
- "createTime",//int(11) DEFAULT NULL COMMENT '创建时间',
- "no",//varchar(225) DEFAULT NULL COMMENT '编码或id',
- "actionType",//varchar(225) DEFAULT NULL COMMENT '操作类型',
- "operationData",//json DEFAULT NULL COMMENT '操作数据',
- ];
- $this->_readonly = ['id'];
- $this->_create_autofill = [
- ];
- $this->_update_autofill = [
- ];
- parent::__construct($serviceDB);
- }
- }
|