<?php
/**
 * 订单日志
 * Created by PhpStorm.
 * User: XiaoMing
 * Date: 2019/12/3
 * Time: 14:27
 */

namespace JinDouYun\Dao\Log;


use JinDouYun\Dao\BaseDao;

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

    }
}