From d2b69d0ae2b8a20db2c033153e7157a23d4d898d Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期五, 21 一月 2022 11:12:39 +0800
Subject: [PATCH] 河门口三社联动接口新增
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/bigscreen/IndexReserveSub.java | 42 ++++--------------------------------------
1 files changed, 4 insertions(+), 38 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/bigscreen/IndexReserveSub.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/bigscreen/IndexReserveSub.java
index 4f7f4ef..a5e0456 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/bigscreen/IndexReserveSub.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/bigscreen/IndexReserveSub.java
@@ -1,15 +1,16 @@
package com.panzhihua.common.model.vos.community.bigscreen;
-import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
+import java.math.BigDecimal;
+
/**
* @author zzj
*/
+@Data
@ApiModel("返攀登记居家隔离数据标题数量")
-@JsonIgnoreProperties
public class IndexReserveSub {
@ApiModelProperty("标题值")
private Integer key;
@@ -18,40 +19,5 @@
@ApiModelProperty("总数")
private Integer allCount;
@ApiModelProperty("占比")
- private Integer percent;
-
- public Integer getPercent() {
- percent=num*100/allCount;
- return percent;
- }
-
- public Integer getKey() {
- return key;
- }
-
- public void setKey(Integer key) {
- this.key = key;
- }
-
- public Integer getNum() {
- return num;
- }
-
- public void setNum(Integer num) {
- this.num = num;
- }
-
- public Integer getAllCount() {
- return allCount;
- }
-
- public void setAllCount(Integer allCount) {
- this.allCount = allCount;
- }
-
- public void setPercent(Integer percent) {
- this.percent = percent;
- }
-
-
+ private BigDecimal percent;
}
--
Gitblit v1.7.1