public static void Generate(Database database) throws IOException{
		String filename = database.getName();
		String filepath = System.getProperty("user.dir") + "\\src\\main\\resources\\sql\\"+filename+".sql";
		File file = new File(filepath);
		if(!file.exists())
			file.createNewFile();
		
		FileOutputStream fos = new FileOutputStream(file);
		String dbname = database.getName();
		StringBuffer sb = new StringBuffer();
		Map<String, String> map = new HashMap<String, String>();
		map.put("dbname", database.getName());
		map.put("dbencode", database.getEncode());
		sb.append(Utils.subReplace(SQLContant.Db(dbname), map));
		for(Table table : database.getTables()){
			//sb.append()
		}
		fos.write(sb.toString().getBytes("UTF-8"));
		fos.flush();
		fos.close();
	}