text: <?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>
      <properties resource="application-dev.yml"/>
  
      <context id="Mysql" targetRuntime="MyBatis3Simple" defaultModelType="flat">
          <property name="beginningDelimiter" value="`"/>
          <property name="endingDelimiter" value="`"/>
          <plugin type="tk.mybatis.mapper.generator.MapperPlugin">
              <property name="mappers" value="com.gpmall.commons.tool.tkmapper.TkMapper"/>
          </plugin>
  
          <!--数据库连接 -->
          <jdbcConnection driverClass="com.mysql.cj.jdbc.Driver"
                          connectionURL="jdbc:mysql://mysql.gpmall.com:3306/gpmall?useUnicode=true&amp;characterEncoding=utf8&amp;useOldAliasMetadataBehavior=true&amp;zeroDateTimeBehavior=convertToNull&amp;allowMultiQueries=true&amp;serverTimezone=UTC"
                          userId="root"
                          password="123">
              <property name="useInformationSchema" value="true"/>
          </jdbcConnection>
  
          <!-- 默认false，把JDBC DECIMAL 和 NUMERIC 类型解析为 Integer，为 true时把JDBC DECIMAL 和
             NUMERIC 类型解析为java.math.BigDecimal -->
          <javaTypeResolver>
              <property name="forceBigDecimals" value="false" />
          </javaTypeResolver>
  
          <javaModelGenerator targetPackage="com.gpmall.pay.dal.entitys"
                              targetProject="src/main/java">
              <!--继承BaseModel-->
              <!--<property name="rootClass" value="BaseModel"/>-->
              <property name="enableSubPackages" value="true"/>
          </javaModelGenerator>
  
          <sqlMapGenerator targetPackage="com.gpmall.pay.dal.persistence" targetProject="src/main/java"/>
  
          <javaClientGenerator targetPackage="com.gpmall.pay.dal.persistence"
                               targetProject="src/main/java"
                               type="XMLMAPPER"/>
          <!--已生成的表
           <table tableName="tb_payment" domainObjectName="Payment"
                 enableCountByExample="false" enableUpdateByExample="false"
                 enableDeleteByExample="false" enableSelectByExample="false"
                 selectByExampleQueryId="false">
          </table>
          -->
  
  
      </context>
  </generatorConfiguration>
  