From e243cc4991bf1e392fd28038b7b2311035886681 Mon Sep 17 00:00:00 2001 From: gilgeunwoo Date: Thu, 16 Nov 2023 01:06:09 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=B7=20::=20(#444)=20=EA=B0=92=ED=83=80?= =?UTF-8?q?=EC=9E=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/team/retum/jobis/domain/code/model/Code.java | 2 +- .../jobis/domain/code/persistence/mapper/CodeMapper.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jobis-application/src/main/java/team/retum/jobis/domain/code/model/Code.java b/jobis-application/src/main/java/team/retum/jobis/domain/code/model/Code.java index 2c6d353d4..b3c507a50 100644 --- a/jobis-application/src/main/java/team/retum/jobis/domain/code/model/Code.java +++ b/jobis-application/src/main/java/team/retum/jobis/domain/code/model/Code.java @@ -19,5 +19,5 @@ public class Code { private final Long parentCodeId; - private final Boolean isUsed; + private final boolean isUsed; } diff --git a/jobis-infrastructure/src/main/java/team/retum/jobis/domain/code/persistence/mapper/CodeMapper.java b/jobis-infrastructure/src/main/java/team/retum/jobis/domain/code/persistence/mapper/CodeMapper.java index e573c2f30..8418802b3 100644 --- a/jobis-infrastructure/src/main/java/team/retum/jobis/domain/code/persistence/mapper/CodeMapper.java +++ b/jobis-infrastructure/src/main/java/team/retum/jobis/domain/code/persistence/mapper/CodeMapper.java @@ -24,7 +24,7 @@ public CodeEntity toEntity(Code domain) { .keyword(domain.getKeyword()) .jobType(domain.getJobType()) .parentCodeEntity(code) - .isUsed(domain.getIsUsed()) + .isUsed(domain.isUsed()) .build(); } @@ -35,7 +35,7 @@ public Code toDomain(CodeEntity entity) { .jobType(entity.getJobType()) .keyword(entity.getKeyword()) .parentCodeId(entity.getParentCode() == null ? null : entity.getParentCode().getId()) - .isUsed(entity.getIsUsed()) + .isUsed(entity.isUsed()) .build(); } }