30 changed files with 413 additions and 19 deletions
@ -0,0 +1,24 @@ |
|||
package com.epmet.screen.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/18 10:49 上午 |
|||
*/ |
|||
@Data |
|||
public class BranchFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -8256381995441422191L; |
|||
|
|||
public interface Branch{} |
|||
|
|||
/** |
|||
* 机关ID |
|||
*/ |
|||
@NotBlank(message = "机关ID不能为空",groups = {Branch.class}) |
|||
private String agencyId; |
|||
} |
@ -0,0 +1,24 @@ |
|||
package com.epmet.screen.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/18 10:49 上午 |
|||
*/ |
|||
@Data |
|||
public class ParymemberFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -5589396567320406525L; |
|||
|
|||
public interface Parymember{} |
|||
|
|||
/** |
|||
* 机关ID |
|||
*/ |
|||
@NotBlank(message = "机关ID不能为空",groups = {Parymember.class}) |
|||
private String agencyId; |
|||
} |
@ -0,0 +1,24 @@ |
|||
package com.epmet.screen.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/18 10:49 上午 |
|||
*/ |
|||
@Data |
|||
public class UserFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 4863908542899315106L; |
|||
|
|||
public interface User{} |
|||
|
|||
/** |
|||
* 机关ID |
|||
*/ |
|||
@NotBlank(message = "机关ID不能为空",groups = {User.class}) |
|||
private String agencyId; |
|||
} |
@ -0,0 +1,35 @@ |
|||
package com.epmet.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/18 10:52 上午 |
|||
*/ |
|||
@Data |
|||
public class BranchResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -8001714892170166320L; |
|||
|
|||
/** |
|||
* 名称:根据当前所在组织,查询出的子级名称 |
|||
*/ |
|||
private String name; |
|||
|
|||
/** |
|||
* 可能是agencyId,也可以是gridId, 也可以是deptId |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 组织:agency 网格:grid 部门:dept |
|||
*/ |
|||
private String type; |
|||
|
|||
/** |
|||
* 中心点位 |
|||
*/ |
|||
private String centerMark; |
|||
} |
@ -0,0 +1,46 @@ |
|||
package com.epmet.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/18 11:06 上午 |
|||
*/ |
|||
@Data |
|||
public class ParymemberDistributionResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 9180892033529262049L; |
|||
|
|||
/** |
|||
* 可能是gridId,可能是agencyId |
|||
*/ |
|||
private String subId; |
|||
|
|||
/** |
|||
* 中心点位 |
|||
*/ |
|||
private String centerMark; |
|||
|
|||
/** |
|||
* 党员总人数 |
|||
*/ |
|||
private Integer totalNum; |
|||
|
|||
/** |
|||
* 坐标区域 |
|||
*/ |
|||
private String areaMarks; |
|||
|
|||
/** |
|||
* 可以是网格的名称,可以是组织的名称 |
|||
*/ |
|||
private String subName; |
|||
|
|||
/** |
|||
* 组织:agency, 网格 : grid; |
|||
*/ |
|||
private String type; |
|||
|
|||
} |
@ -0,0 +1,36 @@ |
|||
package com.epmet.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/18 11:03 上午 |
|||
*/ |
|||
@Data |
|||
public class ParymemberResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -7230556020628357047L; |
|||
|
|||
/** |
|||
* 当前所选组织 |
|||
*/ |
|||
private String agencyId; |
|||
|
|||
/** |
|||
* 当前所选组织名称 |
|||
*/ |
|||
private String name; |
|||
|
|||
/** |
|||
* 当前所选组织的坐标区域 |
|||
*/ |
|||
private String areaMarks; |
|||
|
|||
/** |
|||
* 子级用户分布 |
|||
*/ |
|||
private List<ParymemberDistributionResultDTO> userDistribution; |
|||
} |
@ -0,0 +1,46 @@ |
|||
package com.epmet.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/18 11:06 上午 |
|||
*/ |
|||
@Data |
|||
public class UserDistributionResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -7679590088019724244L; |
|||
|
|||
/** |
|||
* 可能是gridId,可能是agencyId |
|||
*/ |
|||
private String subId; |
|||
|
|||
/** |
|||
* 中心点位 |
|||
*/ |
|||
private String centerMark; |
|||
|
|||
/** |
|||
* 用户总人数 |
|||
*/ |
|||
private Integer totalNum; |
|||
|
|||
/** |
|||
* 坐标区域 |
|||
*/ |
|||
private String areaMarks; |
|||
|
|||
/** |
|||
* 可以是网格的名称,可以是组织的名称 |
|||
*/ |
|||
private String subName; |
|||
|
|||
/** |
|||
* 组织:agency, 网格 : grid; |
|||
*/ |
|||
private String type; |
|||
|
|||
} |
@ -0,0 +1,36 @@ |
|||
package com.epmet.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/18 11:03 上午 |
|||
*/ |
|||
@Data |
|||
public class UserResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -6633682494274511121L; |
|||
|
|||
/** |
|||
* 当前所选组织 |
|||
*/ |
|||
private String agencyId; |
|||
|
|||
/** |
|||
* 当前所选组织名称 |
|||
*/ |
|||
private String name; |
|||
|
|||
/** |
|||
* 当前所选组织的坐标区域 |
|||
*/ |
|||
private String areaMarks; |
|||
|
|||
/** |
|||
* 子级用户分布 |
|||
*/ |
|||
private List<UserDistributionResultDTO> userDistribution; |
|||
} |
Loading…
Reference in new issue