공통코드 컬럼 추가, 코드도 저장,수정할 수 있게 추가
This commit is contained in:
@@ -27,6 +27,10 @@ public class CommonCodeDto {
|
||||
private int order;
|
||||
private boolean used;
|
||||
private Long parentId;
|
||||
|
||||
private String props1;
|
||||
private String props2;
|
||||
private String props3;
|
||||
}
|
||||
|
||||
@Schema(name = "CodeModifyReq", description = "공통코드 수정 정보")
|
||||
@@ -35,10 +39,15 @@ public class CommonCodeDto {
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public static class ModifyReq {
|
||||
@NotEmpty private String code;
|
||||
@NotEmpty private String name;
|
||||
private String description;
|
||||
private int order;
|
||||
private boolean used;
|
||||
|
||||
private String props1;
|
||||
private String props2;
|
||||
private String props3;
|
||||
}
|
||||
|
||||
@Schema(name = "CodeOrderReq", description = "공통코드 순서 변경 정보")
|
||||
@@ -77,6 +86,10 @@ public class CommonCodeDto {
|
||||
|
||||
@JsonFormatDttm private ZonedDateTime updatedDttm;
|
||||
|
||||
private String props1;
|
||||
private String props2;
|
||||
private String props3;
|
||||
|
||||
public Basic(
|
||||
Long id,
|
||||
String code,
|
||||
@@ -87,7 +100,11 @@ public class CommonCodeDto {
|
||||
Boolean deleted,
|
||||
List<CommonCodeDto.Basic> children,
|
||||
ZonedDateTime createdDttm,
|
||||
ZonedDateTime updatedDttm) {
|
||||
ZonedDateTime updatedDttm,
|
||||
String props1,
|
||||
String props2,
|
||||
String props3
|
||||
) {
|
||||
this.id = id;
|
||||
this.code = code;
|
||||
this.description = description;
|
||||
@@ -98,6 +115,9 @@ public class CommonCodeDto {
|
||||
this.children = children;
|
||||
this.createdDttm = createdDttm;
|
||||
this.updatedDttm = updatedDttm;
|
||||
this.props1 = props1;
|
||||
this.props2 = props2;
|
||||
this.props3 = props3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user