classModel.addProperty(new PropertyModel(Visibility.PRIVATE,
ManyToOne.class.getSimpleName(),
"fk" + Utils.getCamelNameFirstCapital(name)));
}
classModel.setConstructorGenerator(new TableStructureConstructor(tableName, fieldAssoc, rels, tableInfo.getPrimaryKey()));
classModel.createGetters();
classModel.write(out);
out.flush();
out.close();