사용자 수정 상태값 추가

This commit is contained in:
2025-12-12 11:50:23 +09:00
parent b76b0311d0
commit 2a6e530dd1
4 changed files with 28 additions and 21 deletions

View File

@@ -153,10 +153,15 @@ public class MembersDto {
@Size(max = 255)
private String tempPassword;
public UpdateReq(String employeeNo, String name, String tempPassword) {
@Schema(description = "상태", example = "ACTIVE")
@EnumValid(enumClass = StatusType.class, message = "status는 ACTIVE, INACTIVE, DELETED 만 가능합니다.")
private String status;
public UpdateReq(String employeeNo, String name, String tempPassword, String status) {
this.employeeNo = employeeNo;
this.name = name;
this.tempPassword = tempPassword;
this.status = status;
}
}