package com.jy.system.model.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

@Getter
@Setter
public class EditPwdDto {

    /**
     * 旧密码
     */
    @NotBlank
    @Length(min = 6, max = 30)
    private String oldPwd;

    /**
     * 新密码
     */
    @NotBlank
    @Length(min = 6, max = 30)
    private String newPwd;

}
