사용자 수정 상태값 추가
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user