forked from rongchao/epmet-cloud-rizhao
7 changed files with 237 additions and 14 deletions
@ -0,0 +1,28 @@ |
|||
package com.epmet.dataaggre.dto.datastats.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 治理实况-当前组织治理指数-接口入参 |
|||
* @Auth sun |
|||
*/ |
|||
@Data |
|||
public class AgencyGovrnFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -3381286960911634231L; |
|||
/** |
|||
* 组织Id |
|||
*/ |
|||
@NotBlank(message = "组织ID不能为空",groups = AgencyGovrnFormDTO.Agency.class) |
|||
private String agencyId; |
|||
/** |
|||
* 日维度Id |
|||
*/ |
|||
private String dateId; |
|||
public interface Agency extends CustomerClientShowGroup {} |
|||
|
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.epmet.dataaggre.dto.datastats.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 治理实况-当前网格治理指数-接口入参 |
|||
* @Auth sun |
|||
*/ |
|||
@Data |
|||
public class GridGovrnFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -3381286960911634231L; |
|||
/** |
|||
* 网格Id |
|||
*/ |
|||
@NotBlank(message = "网格Id不能为空",groups = GridGovrnFormDTO.Grid.class) |
|||
private String gridId; |
|||
/** |
|||
* 日维度Id |
|||
*/ |
|||
private String dateId; |
|||
public interface Grid extends CustomerClientShowGroup {} |
|||
|
|||
} |
@ -0,0 +1,37 @@ |
|||
package com.epmet.dataaggre.dto.datastats.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* @Description 治理实况-当前组织治理指数-接口返参 |
|||
* @Auth sun |
|||
*/ |
|||
@Data |
|||
public class AgencyGovrnResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 466974582608407121L; |
|||
@JsonIgnore |
|||
BigDecimal bi = new BigDecimal(0); |
|||
//组织Id
|
|||
private String agencyId; |
|||
//组织名称
|
|||
private String agencyName; |
|||
//机关级别(社区级:community, 乡(镇、街道)级:street, 区县级: district, 市级: city 省级:province)
|
|||
private String level; |
|||
//问题解决总数
|
|||
private Integer a = 0; |
|||
//党群自治占比
|
|||
private BigDecimal b = bi; |
|||
//网格自治占比
|
|||
private BigDecimal c = bi; |
|||
//社区解决占比
|
|||
private BigDecimal d = bi; |
|||
//区直部门解决占比
|
|||
private BigDecimal e = bi; |
|||
//街道解决占比
|
|||
private BigDecimal f = bi; |
|||
|
|||
} |
@ -0,0 +1,29 @@ |
|||
package com.epmet.dataaggre.dto.datastats.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* @Description 治理实况-当前网格治理指数-接口返参 |
|||
* @Auth sun |
|||
*/ |
|||
@Data |
|||
public class GridGovrnResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 466974582608407121L; |
|||
@JsonIgnore |
|||
BigDecimal bi = new BigDecimal(0); |
|||
//网格Id
|
|||
private String gridId; |
|||
//网格名称
|
|||
private String gridName; |
|||
//问题解决总数
|
|||
private Integer a = 0; |
|||
//党群自治占比
|
|||
private BigDecimal b = bi; |
|||
//网格自治占比
|
|||
private BigDecimal c = bi; |
|||
|
|||
} |
Loading…
Reference in new issue