From b7962388a4819fae15e745ac25c0c6930850772d Mon Sep 17 00:00:00 2001 From: teddy Date: Wed, 3 Dec 2025 15:18:20 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=B5=ED=86=B5=EC=BD=94=EB=93=9C=20misc=20?= =?UTF-8?q?=EC=BB=AC=EB=9F=BC=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../postgres/entity/CommonCodeEntity.java | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/src/main/java/com/kamco/cd/kamcoback/postgres/entity/CommonCodeEntity.java b/src/main/java/com/kamco/cd/kamcoback/postgres/entity/CommonCodeEntity.java index 64467246..3971d8fd 100644 --- a/src/main/java/com/kamco/cd/kamcoback/postgres/entity/CommonCodeEntity.java +++ b/src/main/java/com/kamco/cd/kamcoback/postgres/entity/CommonCodeEntity.java @@ -50,9 +50,6 @@ public class CommonCodeEntity extends CommonDateEntity { @Column(name = "used") private Boolean used; - @Column(name = "misc_cd") - private String miscCd; - @NotNull @Column(name = "deleted", nullable = false) private Boolean deleted = false; @@ -65,7 +62,7 @@ public class CommonCodeEntity extends CommonDateEntity { private List children = new ArrayList<>(); public CommonCodeEntity( - String code, String name, String description, Integer order, Boolean used) { + String code, String name, String description, Integer order, Boolean used) { this.code = code; this.name = name; this.description = description; @@ -74,7 +71,7 @@ public class CommonCodeEntity extends CommonDateEntity { } public CommonCodeEntity( - Long id, String name, String description, Integer order, Boolean used, Boolean deleted) { + Long id, String name, String description, Integer order, Boolean used, Boolean deleted) { this.id = id; this.name = name; this.description = description; @@ -85,16 +82,16 @@ public class CommonCodeEntity extends CommonDateEntity { public CommonCodeDto.Basic toDto() { return new CommonCodeDto.Basic( - this.id, - this.code, - this.description, - this.name, - this.order, - this.used, - this.deleted, - this.children.stream().map(CommonCodeEntity::toDto).toList(), - super.getCreatedDate(), - super.getModifiedDate()); + this.id, + this.code, + this.description, + this.name, + this.order, + this.used, + this.deleted, + this.children.stream().map(CommonCodeEntity::toDto).toList(), + super.getCreatedDate(), + super.getModifiedDate()); } public void addParent(CommonCodeEntity parent) {