<?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 location="/Users/chenweijiang/Documents/software/lib/mysql-connector-java-5.1.26-bin.jar" />
  <context id="context1" targetRuntime="MyBatis3Simple" defaultModelType="flat">
    <property name="javaFileEncoding" value="UTF-8"/>
    <property name="beginningDelimiter" value="`"/>
    <property name="endingDelimiter" value="`"/>
    <plugin type="tk.mybatis.mapper.generator.MapperPlugin">
      <property name="mappers" value="tk.mybatis.mapper.common.Mapper"/>
    </plugin>

    <commentGenerator>
      <!-- 是否去除自动生成的注释 true：是 ： false:否 -->
      <property name="suppressAllComments" value="true"/>
    </commentGenerator>
    <jdbcConnection connectionURL="jdbc:mysql://10.10.171.17:3306/biapp_test" 
    driverClass="com.mysql.jdbc.Driver" password="bL3aACCNuqWCfmeu" userId="biapp" >
    		  
    </jdbcConnection>
    <javaModelGenerator targetPackage="cn.com.countrygarden.bi.main.model.dup" targetProject="${targetJavaProject}" >
    		<property name="enableSubPackages" value="true" />
     	<property name="trimStrings" value="true" />
    </javaModelGenerator>
    <sqlMapGenerator targetPackage="mybatis/mapper/dup" targetProject="${targetResourceProject}" >
    		<property name="enableSubPackages" value="true" />
    </sqlMapGenerator>
    <javaClientGenerator targetPackage="cn.com.countrygarden.bi.main.dao.dup" targetProject="${targetJavaProject}" type="XMLMAPPER" >
    		<property name="enableSubPackages" value="true" />
    </javaClientGenerator>
    <table schema="biapp_test" tableName="fenghuang_manager_data" domainObjectName="ManagerData">
      <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
    </table>
    <table schema="biapp_test" tableName="fenghuang_buoy_data" domainObjectName="BuoyData">
      <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
    </table>
    <table schema="biapp_test" tableName="fenghuang_buoy_data_status" domainObjectName="BuoyDataStatus">
      <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
    </table>
    <table schema="biapp_test" tableName="fenghuang_managerdata_status" domainObjectName="ManagerDataStatus">
      <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
    </table>
    
  </context>
  
  <context id="context_sys" targetRuntime="MyBatis3Simple" defaultModelType="flat">
    <property name="javaFileEncoding" value="UTF-8"/>
    <property name="beginningDelimiter" value="`"/>
    <property name="endingDelimiter" value="`"/>
    <plugin type="tk.mybatis.mapper.generator.MapperPlugin">
      <property name="mappers" value="tk.mybatis.mapper.common.Mapper"/>
    </plugin>

    <commentGenerator>
      <!-- 是否去除自动生成的注释 true：是 ： false:否 -->
      <property name="suppressAllComments" value="true"/>
    </commentGenerator>
    <jdbcConnection connectionURL="jdbc:mysql://10.10.171.17:3306/biapp_test" 
    driverClass="com.mysql.jdbc.Driver" password="bL3aACCNuqWCfmeu" userId="biapp" >
    		  
    </jdbcConnection>
    <javaModelGenerator targetPackage="cn.com.countrygarden.bi.main.model.sys" targetProject="${targetJavaProject}" >
    		<property name="enableSubPackages" value="true" />
     	<property name="trimStrings" value="true" />
    </javaModelGenerator>
    <sqlMapGenerator targetPackage="mybatis.mapper.sys" targetProject="${targetResourceProject}" >
    		<property name="enableSubPackages" value="true" />
    </sqlMapGenerator>
    <javaClientGenerator targetPackage="cn.com.countrygarden.bi.main.dao.sys" targetProject="${targetJavaProject}" type="XMLMAPPER" >
    		<property name="enableSubPackages" value="true" />
    </javaClientGenerator>
    <table schema="biapp_test" tableName="sys_role" domainObjectName="Role">
      <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
    </table>
    <table schema="biapp_test" tableName="user_roles" domainObjectName="UserRoles">
      <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
    </table>
    <table schema="biapp_test" tableName="sys_menu" domainObjectName="Menu">
      <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
    </table>
    <table schema="biapp_test" tableName="role_menus" domainObjectName="RoleMenus">
      
    </table>
    <table schema="biapp_test" tableName="user_menus" domainObjectName="UserMenus">
      <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
    </table>
    <table schema="biapp_test" tableName="sys_function" domainObjectName="Function">
      <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
    </table>
    <table schema="biapp_test" tableName="role_sys_functions" domainObjectName="RoleFunctions">
      <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
    </table>
    <table schema="biapp_test" tableName="user_sys_functions" domainObjectName="UserFunctions">
      <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
    </table>
    <table schema="biapp_test" tableName="erp_mca_role_map" domainObjectName="MacRoleMap">
      
    </table>
    <table schema="biapp_test" tableName="pilot_comm" domainObjectName="PilotComm">
      <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
    </table>
  </context>
</generatorConfiguration>