forked from rongchao/epmet-cloud-rizhao
				
			
				 8 changed files with 175 additions and 10 deletions
			
			
		| @ -0,0 +1,34 @@ | |||
| package com.epmet.evaluationindex.screen.dto.form; | |||
| 
 | |||
| 
 | |||
| import lombok.Data; | |||
| 
 | |||
| import javax.validation.constraints.Min; | |||
| import javax.validation.constraints.NotBlank; | |||
| import java.io.Serializable; | |||
| 
 | |||
| /** | |||
|  *  组织月度指数得分--接口入参 | |||
|  * @Author sun | |||
|  */ | |||
| @Data | |||
| public class IndexScoreFormDTO implements Serializable { | |||
|     private static final long serialVersionUID = -2880432640584616651L; | |||
|     /** | |||
|      * 组织或网格Id | |||
|      */ | |||
|     @NotBlank(message = "组织或网格ID不能为空",groups = {IndexScoreFormDTO.AddUserInternalGroup.class}) | |||
|     private String orgId; | |||
|     /** | |||
|      * 类型(组织:agency  网格:grid) | |||
|      */ | |||
|     @NotBlank(message = "数据类型不能为空",groups = {IndexScoreFormDTO.AddUserInternalGroup.class}) | |||
|     private String orgType; | |||
|     /** | |||
|      * 月份Id eg:202009 | |||
|      */ | |||
|     @NotBlank(message = "月份Id不能为空",groups = {IndexScoreFormDTO.AddUserInternalGroup.class}) | |||
|     private String monthId; | |||
|     public interface AddUserInternalGroup {} | |||
| 
 | |||
| } | |||
| @ -0,0 +1,55 @@ | |||
| package com.epmet.evaluationindex.screen.dto.result; | |||
| 
 | |||
| import com.fasterxml.jackson.annotation.JsonIgnore; | |||
| import lombok.Data; | |||
| 
 | |||
| import java.io.Serializable; | |||
| import java.math.BigDecimal; | |||
| 
 | |||
| /** | |||
|  *  组织月度指数得分--接口返参 | |||
|  * @Author sun | |||
|  */ | |||
| @Data | |||
| public class IndexScoreResultDTO implements Serializable { | |||
| 
 | |||
|     private static final long serialVersionUID = 3860268744336541373L; | |||
| 
 | |||
|     /** | |||
|      * 年度平均指数(保留一位小数) | |||
|      */ | |||
|     @JsonIgnore | |||
|     private String total; | |||
|     private BigDecimal totalScore; | |||
|     /** | |||
|      * 党建能力(保留一位小数) | |||
|      */ | |||
|     @JsonIgnore | |||
|     private String party; | |||
|     private BigDecimal partyDevAbility; | |||
|     /** | |||
|      * 党建能力权重(保留一位小数) | |||
|      */ | |||
|     private String partyDevAbilityWeight; | |||
|     /** | |||
|      * 治理能力(保留一位小数) | |||
|      */ | |||
|     @JsonIgnore | |||
|     private String govern; | |||
|     private BigDecimal governAbility; | |||
|     /** | |||
|      * 治理能力权重(保留一位小数) | |||
|      */ | |||
|     private String governAbilityWeight; | |||
|     /** | |||
|      * 服务能力(保留一位小数) | |||
|      */ | |||
|     @JsonIgnore | |||
|     private String service; | |||
|     private BigDecimal serviceAbility; | |||
|     /** | |||
|      * 服务能力权重(保留一位小数) | |||
|      */ | |||
|     private String serviceAbilityWeight; | |||
| 
 | |||
| } | |||
					Loading…
					
					
				
		Reference in new issue