Package inha.git.problem.api.mapper
Interface ProblemMapper
public interface ProblemMapper
ProblemMapper는 Problem 엔티티와 관련된 데이터 변환 기능을 제공.
-
Method Summary
Modifier and TypeMethodDescriptioncreateProblemAttachmentRequestToProblemAttachment
(String originalFileName, String storedFileUrl, Problem problem) default ProblemField
createProblemField
(Problem problem, Field field) createProblemRequestToProblem
(User user, CreateProblemRequest createProblemReques) problemToProblemResponse
(Problem problem) problemToSearchProblemResponse
(Problem problem, SearchUserResponse author, List<SearchProblemAttachmentResponse> attachments, List<SearchFieldResponse> fieldList, Integer problemRequestIdx) void
updateProblemRequestToProblem
(UpdateProblemRequest updateProblemRequest, Problem problem)
-
Method Details
-
createProblemRequestToProblem
-
problemToProblemResponse
-
updateProblemRequestToProblem
-
problemToSearchProblemResponse
SearchProblemResponse problemToSearchProblemResponse(Problem problem, SearchUserResponse author, List<SearchProblemAttachmentResponse> attachments, List<SearchFieldResponse> fieldList, Integer problemRequestIdx) -
createProblemAttachmentRequestToProblemAttachment
ProblemAttachment createProblemAttachmentRequestToProblemAttachment(String originalFileName, String storedFileUrl, Problem problem) -
createProblemField
-