From 33c460d35855b574601dec4a87f70792c73c8686 Mon Sep 17 00:00:00 2001 From: eun-seong Date: Thu, 21 Mar 2024 20:34:13 +0900 Subject: [PATCH 1/6] =?UTF-8?q?refactor:=20Survey,=20Question=20=EC=B0=B8?= =?UTF-8?q?=EC=A1=B0=20=EC=BB=AC=EB=9F=BC=EC=97=90=20lazy=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9(#98)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/dnd/namuiwiki/domain/question/entity/Question.java | 2 +- .../com/dnd/namuiwiki/domain/survey/model/entity/Survey.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/dnd/namuiwiki/domain/question/entity/Question.java b/src/main/java/com/dnd/namuiwiki/domain/question/entity/Question.java index 6449ed9b..e2a2371d 100644 --- a/src/main/java/com/dnd/namuiwiki/domain/question/entity/Question.java +++ b/src/main/java/com/dnd/namuiwiki/domain/question/entity/Question.java @@ -28,7 +28,7 @@ public class Question extends BaseTimeEntity { private Long surveyOrder; private boolean reasonRequired; - @DocumentReference + @DocumentReference(collection = "options") private Map options; public Optional