13 changed files with 260 additions and 0 deletions
@ -0,0 +1,43 @@ |
|||
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; |
|||
} |
|||
|
@ -0,0 +1,48 @@ |
|||
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 appId、账号、验证码获取组织-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class ThirdStaffAccountOrgsFormDTO 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{} |
|||
/** |
|||
* 小程序appId |
|||
*/ |
|||
@NotBlank(message = "appId不能为空", groups = {AddUserShowGroup.class}) |
|||
private String appId; |
|||
|
|||
/** |
|||
* 手机号 |
|||
*/ |
|||
@NotBlank(message = "账号不能为空", groups = {AddUserShowGroup.class}) |
|||
private String userAccount; |
|||
|
|||
/** |
|||
* 验证码 |
|||
*/ |
|||
@NotBlank(message="验证码不能为空", groups = {GetMyOrgByLoginWxmp.class}) |
|||
private String smsCode; |
|||
|
|||
@NotBlank(message = "密码不能为空",groups ={GetMyOrgByPassWordGroup.class}) |
|||
private String password; |
|||
} |
|||
|
@ -0,0 +1,24 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 根据客户ID、手机号查询政府端工作人员基本信息 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class ThirdAccountCustomerStaffFormDTO implements Serializable{ |
|||
private static final long serialVersionUID = -7994579456530273809L; |
|||
|
|||
/** |
|||
* 客户Id |
|||
* */ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 账号 |
|||
* */ |
|||
private String userAccount; |
|||
} |
Loading…
Reference in new issue