From 54725d7fb14fe71098cce55aeb25069b3a7612ed Mon Sep 17 00:00:00 2001 From: Rajbir Singh Date: Wed, 23 Oct 2024 14:52:11 +0200 Subject: [PATCH] PMT-40 remove Mapper --- src/main/java/de/hmmh/pmt/util/Mapper.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/java/de/hmmh/pmt/util/Mapper.java b/src/main/java/de/hmmh/pmt/util/Mapper.java index 949e046..7485c43 100644 --- a/src/main/java/de/hmmh/pmt/util/Mapper.java +++ b/src/main/java/de/hmmh/pmt/util/Mapper.java @@ -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; - } }