From a0396d79c335d751809471229f38f66e941f4d6c Mon Sep 17 00:00:00 2001 From: oowtl Date: Thu, 9 Jan 2025 16:02:46 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20=EA=B2=8C=EC=8B=9C=EA=B8=80=20?= =?UTF-8?q?=EB=B2=88=ED=98=B8=20=EA=B8=B0=EB=8A=A5=20=EA=B0=9C=EB=B0=9C=20?= =?UTF-8?q?=EC=A0=84=EA=B9=8C=EC=A7=80=20=EA=B2=8C=EC=8B=9C=EA=B8=80=20?= =?UTF-8?q?=EB=B2=88=ED=98=B8=EB=A5=BC=201=EB=A1=9C=20=EA=B3=A0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - @Builder.Default 를 사용하여 게시글 번호의 기본값이 사라지지 않도록 설정 - number = 1 로 고정 - 관련 이슈 : #64 --- .../src/main/java/com/checkping/domain/board/TaskBoard.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module-domain/src/main/java/com/checkping/domain/board/TaskBoard.java b/module-domain/src/main/java/com/checkping/domain/board/TaskBoard.java index 112733c..7acb26f 100644 --- a/module-domain/src/main/java/com/checkping/domain/board/TaskBoard.java +++ b/module-domain/src/main/java/com/checkping/domain/board/TaskBoard.java @@ -52,6 +52,8 @@ public class TaskBoard extends BaseEntity { @Column(name = "id", nullable = false) private Long id; + // TODO : #64 - 업무 관리 게시글 번호 채번 기능 + @Builder.Default @Column(name = "number", nullable = false) private Integer number = 1;