<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
<generatorConfiguration>
<!-- classPathEntry:数据库的JDBC驱动,换成你自己的驱动位置 -->
<classPathEntry location="E:/mybatis-generator/mysql-connector-java-5.1.34.jar" />
<context id="MysqlTables" targetRuntime="MyBatis3">
<!-- 生成的Java文件的编码 -->
<property name="javaFileEncoding" value="UTF-8"/>
<!-- 去除自动生成的注释 -->
<commentGenerator>
<property name="suppressAllComments" value="true" />
</commentGenerator>
<jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://127.0.0.1:3306/dam?useUnicode=true&characterEncoding=UTF-8"
userId="fabu" password="73R4_h8td6fE">
</jdbcConnection>
<javaTypeResolver >
<property name="forceBigDecimals" value="false" />
</javaTypeResolver>
<!-- targetProject:自动生成代码的位置 -->
<javaModelGenerator targetPackage="com.suning.dam.datagovern.entity" targetProject="datagovern-service" >
<!-- <property name="enableSubPackages" value="true" /> -->
<property name="trimStrings" value="true" />
</javaModelGenerator>
<sqlMapGenerator targetPackage="mapper" targetProject="datagovern-service">
<!-- <property name="enableSubPackages" value="true" /> -->
</sqlMapGenerator>
<javaClientGenerator type="XMLMAPPER" targetPackage="com.suning.dam.datagovern.dao" targetProject="datagovern-service">
<!-- <property name="enableSubPackages" value="true" /> -->
</javaClientGenerator>
<table tableName="meta_portal_system" enableCountByExample="false" domainObjectName="MetaPortalSystem"
enableUpdateByExample="false"
enableDeleteByExample="false"
enableSelectByExample="false"
selectByExampleQueryId="false" />
<!-- enableCountByExample="false"
enableUpdateByExample="false"
enableDeleteByExample="false"
enableSelectByExample="false"
selectByExampleQueryId="false" -->
</context>
</generatorConfiguration>