forked from rongchao/epmet-cloud-rizhao
				
			
				 19 changed files with 36 additions and 79 deletions
			
			
		| @ -1,43 +0,0 @@ | |||
| package com.epmet.dto.form; | |||
| 
 | |||
| import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; | |||
| import lombok.Data; | |||
| 
 | |||
| import javax.validation.constraints.NotBlank; | |||
| import java.io.Serializable; | |||
| 
 | |||
| /** | |||
|  * @Description 手机验证码获取组织接口入参 | |||
|  * @Author yinzuomei | |||
|  * @Date 2020/4/18 10:38 | |||
|  */ | |||
| @Data | |||
| public class StaffAccountOrgsFormDTO implements Serializable { | |||
|     private static final long serialVersionUID = 4193133227120225342L; | |||
|     /** | |||
|      * 添加用户操作的用户可见异常分组 | |||
|      * 该分组用于校验需要返回给前端错误信息提示的列,需要继承CustomerClientShowGroup | |||
|      * 返回错误码为8999,提示信息为DTO中具体的列的校验注解message的内容 | |||
|      */ | |||
|     public interface AddUserShowGroup extends CustomerClientShowGroup { | |||
|     } | |||
| 
 | |||
|     public interface GetMyOrgByPassWordGroup extends CustomerClientShowGroup { | |||
|     } | |||
|     public interface GetMyOrgByLoginWxmp extends CustomerClientShowGroup{} | |||
|     /** | |||
|      * 手机号 | |||
|      */ | |||
|     @NotBlank(message = "账号不能为空", groups = {AddUserShowGroup.class}) | |||
|     private String userAccount; | |||
| 
 | |||
|     /** | |||
|      * 验证码 | |||
|      */ | |||
|     @NotBlank(message="验证码不能为空", groups = {GetMyOrgByLoginWxmp.class}) | |||
|     private String smsCode; | |||
| 
 | |||
|     @NotBlank(message = "密码不能为空",groups ={GetMyOrgByPassWordGroup.class}) | |||
|     private String password; | |||
| } | |||
| 
 | |||
					Loading…
					
					
				
		Reference in new issue