Code Generation for DTO design pattern