PMT-40 Mapper
All checks were successful
Quality Check / Validate OAS (push) Successful in 1m28s
Quality Check / Validate OAS (pull_request) Successful in 1m36s
Quality Check / Linting (push) Successful in 2m46s
Quality Check / Linting (pull_request) Successful in 2m48s
Quality Check / Testing (push) Successful in 3m0s
Quality Check / Static Analysis (push) Successful in 3m4s
Quality Check / Testing (pull_request) Successful in 2m57s
Quality Check / Static Analysis (pull_request) Successful in 3m0s
All checks were successful
Quality Check / Validate OAS (push) Successful in 1m28s
Quality Check / Validate OAS (pull_request) Successful in 1m36s
Quality Check / Linting (push) Successful in 2m46s
Quality Check / Linting (pull_request) Successful in 2m48s
Quality Check / Testing (push) Successful in 3m0s
Quality Check / Static Analysis (push) Successful in 3m4s
Quality Check / Testing (pull_request) Successful in 2m57s
Quality Check / Static Analysis (pull_request) Successful in 3m0s
This commit is contained in:
parent
54725d7fb1
commit
33157758c3
1 changed files with 12 additions and 1 deletions
|
@ -72,5 +72,16 @@ public class Mapper {
|
|||
project.setPlannedEnd(dto.getPlannedEnd());
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue