package com.fdkanfang.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by owen on 2020/2/18 0018 17:09
 */
@Data
public class LoginDto {

    @ApiModelProperty(value = "用户名", required = true )
    @NotBlank(message = "用户名不能为空")
    private String userName;

    @ApiModelProperty(value = "密码", required = true )
    @NotBlank(message = "密码不能为空")
    private String password;






}
