package com.macro.mall.dto;

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

import javax.validation.constraints.NotEmpty;

/**
 * 用户登录参数
 * Created by macro on 2018/4/26.
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UmsAdminLoginParam {
    @ApiModelProperty(value = "用户名", required = true)
    @NotEmpty(message = "用户名不能为空")
    private String username;
    @ApiModelProperty(value = "密码", required = true)
    @NotEmpty(message = "密码不能为空")
    private String password;
}

@@ -301,16 +301,30 @@
 Param %7B%0A
+    @NotEmpty%0A
     @Api
@@ -351,17 +351,16 @@
 = %22%E7%94%A8%E6%88%B7%E5%90%8D%22,
- 
 required
@@ -372,43 +372,8 @@
 ue)%0A
-    @NotEmpty(message = %22%E7%94%A8%E6%88%B7%E5%90%8D%E4%B8%8D%E8%83%BD%E4%B8%BA%E7%A9%BA%22)%0A
     
@@ -397,16 +397,30 @@
 ername;%0A
+    @NotEmpty%0A
     @Api
@@ -446,17 +446,16 @@
  = %22%E5%AF%86%E7%A0%81%22,
- 
 required
@@ -467,42 +467,8 @@
 ue)%0A
-    @NotEmpty(message = %22%E5%AF%86%E7%A0%81%E4%B8%8D%E8%83%BD%E4%B8%BA%E7%A9%BA%22)%0A
     

Update UmsAdminLoginParam.java