package com.storlead.user.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @program: sp-sales
 * @description: 修改用户密码form
 * @author: xiaojiawei
 * @create: 2022-03-08 17:53
 **/
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "用户类", description = "用户请求参数对象")
public class UserForm {
    @ApiModelProperty(value = "原密码")
    @NotBlank(message = "原密码不能为空")
    private String password;

    @ApiModelProperty(value = "新密码")
    @NotBlank(message = "新密码不能为空")
    private String newPass;
}
