In one of our projects we have some sort of code duplication which we would like to get rid of: It is about code for the same calculations on both DTO and model classes.