forked from luyan/epmet-cloud-lingshan
17 changed files with 483 additions and 13 deletions
@ -0,0 +1,43 @@ |
|||
package com.epmet.dto.form;/** |
|||
* Created by 11 on 2020/3/19. |
|||
*/ |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 第三方-陌生人导览查询附近网格传参定义 |
|||
* @ClassName ListCustomerGridFormDTO |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class ThirdCustomerGridListFormDTO implements Serializable{ |
|||
|
|||
private static final long serialVersionUID = -1L; |
|||
|
|||
/** |
|||
* 客户Id |
|||
* */ |
|||
@NotBlank(message = "客户Id不能为空") |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 地区编码(城市、区县) |
|||
* */ |
|||
@NotBlank(message = "地区码不能为空") |
|||
private String areaCode; |
|||
|
|||
/** |
|||
* 当前页 |
|||
* */ |
|||
@Min(value = 1) |
|||
private Integer pageNo = 1; |
|||
|
|||
/** |
|||
* 每页显示数量 |
|||
* */ |
|||
private Integer pageSize = 20; |
|||
} |
@ -0,0 +1,29 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 单客户-陌生人搜索网格-接口返参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class PublicCustomerGridForStrangerResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -1L; |
|||
|
|||
/** |
|||
* 网格ID |
|||
* */ |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 客户ID |
|||
* */ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 网格名称 |
|||
* */ |
|||
private String gridName; |
|||
} |
@ -0,0 +1,71 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 单客户-陌生人搜索网格-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class PublicCustomerGridListFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public interface AddUserInternalGroup { |
|||
} |
|||
|
|||
public interface AddUserShowGroup extends CustomerClientShowGroup { |
|||
} |
|||
|
|||
/** |
|||
* 客户Id |
|||
* */ |
|||
@NotBlank(message = "客户Id不能为空", groups = {AddUserShowGroup.class}) |
|||
private String customerId; |
|||
/** |
|||
* 当前页 |
|||
* */ |
|||
@Min(value = 1) |
|||
private Integer pageNo; |
|||
|
|||
/** |
|||
* 每页数量 |
|||
* */ |
|||
private Integer pageSize = 20; |
|||
|
|||
/** |
|||
* 地区码 |
|||
* */ |
|||
private String areaCode; |
|||
|
|||
/** |
|||
* 选定地区编码 |
|||
* */ |
|||
private String selectedAreaCode; |
|||
|
|||
/** |
|||
* 是否首次位置授权(0:是 1:否) |
|||
*/ |
|||
private Integer isAuthorized; |
|||
|
|||
/** |
|||
* 前端传递的省份 |
|||
* */ |
|||
@NotBlank(message = "省份信息不能为空") |
|||
private String province; |
|||
|
|||
/** |
|||
* 前端传递的城市 |
|||
* */ |
|||
@NotBlank(message = "城市信息不能为空") |
|||
private String city; |
|||
|
|||
/** |
|||
* 前端传递的地区 |
|||
* */ |
|||
private String area; |
|||
} |
Loading…
Reference in new issue