package com.test.bijihoudaun.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "更新密码业务对象")
public class UpdatePasswordBo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "旧密码", name = "oldPassword", requiredMode = Schema.RequiredMode.REQUIRED)
    private String oldPassword;

    @Schema(description = "新密码", name = "newPassword", requiredMode = Schema.RequiredMode.REQUIRED)
    private String newPassword;
}