<?php
/**
 * Created by PhpStorm.
 * User: wxj
 * Date: 2019/11/28
 * Time: 10:20
 */
namespace Jobs\Dao;

use Jobs\Dao\BaseDao;

class DLog extends BaseDao
{
    public function __construct($serviceDB = 'log')
    {
        $this->_table = 'log_2019_1';
        $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);
    }
}