From 9e1a07200dad01b669fd2947efbab0300f74acd7 Mon Sep 17 00:00:00 2001 From: cabbage16 Date: Sat, 6 Jul 2024 15:16:10 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat(#92):=20Response=EC=97=90=20examinatio?= =?UTF-8?q?nNumber=20=ED=95=84=EB=93=9C=20=EC=B6=94=EA=B0=80=20=EC=9B=90?= =?UTF-8?q?=EC=84=9C=20=EC=A1=B0=ED=9A=8C=EC=8B=9C=20=EC=88=98=ED=97=98?= =?UTF-8?q?=EB=B2=88=ED=98=B8=EB=A5=BC=20=ED=91=9C=EC=8B=9C=ED=95=98?= =?UTF-8?q?=EA=B8=B0=20=EC=9C=84=ED=95=B4=EC=84=9C=20Response=EC=97=90=20e?= =?UTF-8?q?xaminationNumber=EB=A5=BC=20=EC=B6=94=EA=B0=80=ED=96=88?= =?UTF-8?q?=EC=8A=B5=EB=8B=88=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../maru/presentation/form/dto/response/FormResponse.java | 2 ++ .../maru/presentation/form/dto/response/FormSimpleResponse.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/com/bamdoliro/maru/presentation/form/dto/response/FormResponse.java b/src/main/java/com/bamdoliro/maru/presentation/form/dto/response/FormResponse.java index 0e93a10f..4393bb74 100644 --- a/src/main/java/com/bamdoliro/maru/presentation/form/dto/response/FormResponse.java +++ b/src/main/java/com/bamdoliro/maru/presentation/form/dto/response/FormResponse.java @@ -11,6 +11,7 @@ public class FormResponse { private Long id; + private Long examinationNumber; private ApplicantResponse applicant; private ParentResponse parent; private EducationResponse education; @@ -22,6 +23,7 @@ public class FormResponse { public FormResponse(Form form) { this.id = form.getId(); + this.examinationNumber = form.getExaminationNumber(); this.applicant = new ApplicantResponse(form.getApplicant()); this.parent = new ParentResponse(form.getParent()); this.education = new EducationResponse(form.getEducation()); diff --git a/src/main/java/com/bamdoliro/maru/presentation/form/dto/response/FormSimpleResponse.java b/src/main/java/com/bamdoliro/maru/presentation/form/dto/response/FormSimpleResponse.java index 17e68539..4f8ac86b 100644 --- a/src/main/java/com/bamdoliro/maru/presentation/form/dto/response/FormSimpleResponse.java +++ b/src/main/java/com/bamdoliro/maru/presentation/form/dto/response/FormSimpleResponse.java @@ -15,6 +15,7 @@ public class FormSimpleResponse { private Long id; + private Long examinationNumber; private String name; private LocalDate birthday; private GraduationType graduationType; @@ -28,6 +29,7 @@ public class FormSimpleResponse { public FormSimpleResponse(Form form) { this.id = form.getId(); + this.examinationNumber = form.getExaminationNumber(); this.name = form.getApplicant().getName(); this.birthday = form.getApplicant().getBirthday(); this.graduationType = form.getEducation().getGraduationType(); From 07576ad71ee20c88270aa45fc053e3aa179c7566 Mon Sep 17 00:00:00 2001 From: cabbage16 Date: Sat, 6 Jul 2024 15:18:23 +0900 Subject: [PATCH 2/2] =?UTF-8?q?test(#92):=20FormFixture=EC=97=90=20examina?= =?UTF-8?q?tionNumber=20=EC=B6=94=EA=B0=80=20=ED=85=8C=EC=8A=A4=ED=8A=B8?= =?UTF-8?q?=20=EC=BD=94=EB=93=9C=EC=97=90=EB=8F=84=20examinationNumber=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/com/bamdoliro/maru/shared/fixture/FormFixture.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/com/bamdoliro/maru/shared/fixture/FormFixture.java b/src/test/java/com/bamdoliro/maru/shared/fixture/FormFixture.java index d2cb004f..f2d20375 100644 --- a/src/test/java/com/bamdoliro/maru/shared/fixture/FormFixture.java +++ b/src/test/java/com/bamdoliro/maru/shared/fixture/FormFixture.java @@ -439,6 +439,7 @@ public static FormSimpleResponse createFormSimpleResponse(FormStatus status) { public static FormResponse createFormResponse() { return new FormResponse( 1L, + 2001L, new ApplicantResponse( "https://maru.com/photo.png", "김밤돌",