package com.njcn.user.pojo.param;

import com.njcn.user.pojo.constant.UserValidMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2022/3/22 13:31
 */
@Data
public class UserPasswordParam {

    @ApiModelProperty("用户名")
    @NotBlank(message = UserValidMessage.USERNAME_NOT_BLANK)
    private String name;


    @ApiModelProperty("密码")
    @NotBlank(message = UserValidMessage.PASSWORD_NOT_BLANK)
    private String password;
}
