PMT-40 remove Mapper
Some checks failed
Quality Check / Validate OAS (push) Has been cancelled
Quality Check / Testing (push) Has been cancelled
Quality Check / Static Analysis (push) Has been cancelled
Quality Check / Linting (push) Has been cancelled
Quality Check / Validate OAS (pull_request) Successful in 1m14s
Quality Check / Static Analysis (pull_request) Failing after 2m13s
Quality Check / Linting (pull_request) Failing after 2m17s
Quality Check / Testing (pull_request) Failing after 2m16s

This commit is contained in:
Rajbir Singh 2024-10-23 14:52:11 +02:00
parent ada6f9c90f
commit 54725d7fb1

View file

@ -73,16 +73,4 @@ public class Mapper {
return project;
}
public de.hmmh.pmt.dtos.Project mapProject(Project project){
de.hmmh.pmt.dtos.Project dto = new de.hmmh.pmt.dtos.Project();
dto.setId(project.getId());
dto.setName(project.getName());
dto.setGoal(project.getGoal());
dto.setCustomerId(project.getCustomerId());
dto.setAdministratorId(project.getAdministratorId());
dto.setStart(project.getStart());
dto.setPlannedEnd(project.getPlannedEnd());
dto.setRealEnd(project.getRealEnd());
return dto;
}
}