17 changed files with 280 additions and 21 deletions
@ -0,0 +1,24 @@ |
|||||
|
package com.epmet.evaluationindex.screen.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2020/10/27 11:08 上午 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class BranchCountFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -4869326660700557193L; |
||||
|
|
||||
|
public interface BranchCount{} |
||||
|
|
||||
|
/** |
||||
|
* 机关ID |
||||
|
*/ |
||||
|
@NotBlank(message = "机关ID不能为空",groups = {BranchCount.class}) |
||||
|
private String agencyId; |
||||
|
} |
@ -0,0 +1,36 @@ |
|||||
|
package com.epmet.evaluationindex.screen.dto.result; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2020/10/27 11:03 上午 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class BranchCountResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -5915969126291502360L; |
||||
|
|
||||
|
private String agencyId; |
||||
|
|
||||
|
/** |
||||
|
* 机关名称 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
@JsonIgnore |
||||
|
private String level; |
||||
|
|
||||
|
private List<SubBranchCountResultDTO> partyDistribution; |
||||
|
|
||||
|
public BranchCountResultDTO() { |
||||
|
this.agencyId = ""; |
||||
|
this.name = ""; |
||||
|
this.partyDistribution = new ArrayList<>(); |
||||
|
} |
||||
|
} |
@ -0,0 +1,52 @@ |
|||||
|
package com.epmet.evaluationindex.screen.dto.result; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2020/10/27 5:22 下午 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class SubBranchCountResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -4174988002147169566L; |
||||
|
|
||||
|
private String subId; |
||||
|
|
||||
|
/** |
||||
|
* 机关名称 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* 中心点位 |
||||
|
*/ |
||||
|
private String centerMark; |
||||
|
|
||||
|
/** |
||||
|
* 社区下的党支部数 |
||||
|
*/ |
||||
|
private Integer totalNum; |
||||
|
|
||||
|
/** |
||||
|
* 坐标区域 |
||||
|
*/ |
||||
|
private String areaMarks; |
||||
|
|
||||
|
@JsonIgnore |
||||
|
private String allParentIds; |
||||
|
@JsonIgnore |
||||
|
private String subAgencyId; |
||||
|
|
||||
|
public SubBranchCountResultDTO() { |
||||
|
this.subId = ""; |
||||
|
this.name = ""; |
||||
|
this.centerMark = ""; |
||||
|
this.totalNum = 0; |
||||
|
this.areaMarks = ""; |
||||
|
this.subAgencyId = ""; |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue