8 changed files with 139 additions and 8 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,45 @@ |
|||||
|
package com.epmet.evaluationindex.screen.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @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; |
||||
|
|
||||
|
/** |
||||
|
* 中心点位 |
||||
|
*/ |
||||
|
private String centerMark; |
||||
|
|
||||
|
/** |
||||
|
* 社区下的党支部数 |
||||
|
*/ |
||||
|
private Integer totalNum; |
||||
|
|
||||
|
/** |
||||
|
* 坐标区域 |
||||
|
*/ |
||||
|
private String areaMarks; |
||||
|
|
||||
|
public BranchCountResultDTO() { |
||||
|
this.agencyId = ""; |
||||
|
this.name = ""; |
||||
|
this.centerMark = ""; |
||||
|
this.totalNum = 0; |
||||
|
this.areaMarks = ""; |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue