package com.zy.common; 
 | 
  
 | 
import com.core.generators.CoolGenerator; 
 | 
  
 | 
/** 
 | 
 * Created by vincent on 2019-06-04 
 | 
 */ 
 | 
public class CodeBuilder { 
 | 
  
 | 
    public static void main(String[] args) throws Exception { 
 | 
        CoolGenerator generator = new CoolGenerator(); 
 | 
        // mysql 
 | 
//        generator.url="localhost:3306/cool"; 
 | 
//        generator.username="root"; 
 | 
//        generator.password="xltys1995"; 
 | 
//        generator.table="sys_host"; 
 | 
        // sqlserver 
 | 
        generator.url="127.0.0.1:1433;databasename=dlasrs"; 
 | 
        generator.username="sa"; 
 | 
        generator.password="sa@123"; 
 | 
        generator.table="asr_adj_detl"; 
 | 
        generator.packagePath="com.zy.asrs"; 
 | 
        generator.build(); 
 | 
    } 
 | 
  
 | 
} 
 |