backend/spring/src/main/java/com/sbank/spring/dto/ChangePwdDto.java
<gh_stars>0package com.sbank.spring.dto;

import javax.validation.constraints.NotNull;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ChangePwdDto {

    @NotNull
    private String oldPassword;
    @NotNull
    private String newPassword;
    
}
