Package inha.git.problem.api.mapper
Interface ProblemRequestMapper
public interface ProblemRequestMapper
ProblemRequestMapper는 ProblemRequest 엔티티와 관련된 데이터 변환 기능을 제공.
-
Method Summary
Modifier and TypeMethodDescriptiontoProblemParticipant(CreateProblemParticipantRequest request, ProblemRequest problemRequest) toProblemParticipant(UpdateProblemParticipantRequest request, ProblemRequest problemRequest) toProblemParticipantResponse(ProblemParticipant participant) toProblemParticipantResponseList(List<ProblemParticipant> participants) toProblemRequest(CreateRequestProblemRequest createRequestProblemRequest, Problem problem, User user) toRequestProblemResponse(ProblemRequest savedProblemRequest) toSearchDepartmentResponse(Department department) toSearchRequestProblemResponse(ProblemRequest problemRequest, Integer projectIdx)
-
Method Details
-
toProblemRequest
ProblemRequest toProblemRequest(CreateRequestProblemRequest createRequestProblemRequest, Problem problem, User user) -
toProblemParticipant
ProblemParticipant toProblemParticipant(CreateProblemParticipantRequest request, ProblemRequest problemRequest) -
toProblemParticipant
ProblemParticipant toProblemParticipant(UpdateProblemParticipantRequest request, ProblemRequest problemRequest) -
toRequestProblemResponse
-
toSearchRequestProblemResponse
SearchRequestProblemResponse toSearchRequestProblemResponse(ProblemRequest problemRequest, Integer projectIdx) -
toSearchUserRequestProblemResponse
-
toProblemParticipantResponse
-
toSearchDepartmentResponse
-
toProblemParticipantResponseList
List<ProblemParticipantResponse> toProblemParticipantResponseList(List<ProblemParticipant> participants)
-