변화탐지 clazz API : enum -> 공통코드로 변경

This commit is contained in:
2025-12-11 10:31:31 +09:00
parent 83bfdc2728
commit 979aab24f4
3 changed files with 75 additions and 24 deletions

View File

@@ -1,5 +1,6 @@
package com.kamco.cd.kamcoback.code.dto;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.kamco.cd.kamcoback.common.utils.html.HtmlEscapeDeserializer;
@@ -71,15 +72,6 @@ public class CommonCodeDto {
@NotNull private Integer order;
}
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public static class OrderReqDetail {
@NotNull private Long id;
@NotNull private Integer order;
}
@Schema(name = "CommonCode Basic", description = "공통코드 기본 정보")
@Getter
public static class Basic {
@@ -139,4 +131,22 @@ public class CommonCodeDto {
this.deletedDttm = deletedDttm;
}
}
@Getter
public static class Clazzes {
private String code;
private String name;
@JsonInclude(JsonInclude.Include.NON_NULL)
private Double score;
private Integer order;
public Clazzes(String code, String name, Integer order) {
this.code = code;
this.name = name;
this.order = order;
}
}
}