101captain
2021-12-23 0cf5b2ac611dbb4b44f0776881a37a11fa0ba552
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/bigscreen/IndexReserveSub.java
@@ -1,6 +1,5 @@
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;
@@ -8,6 +7,7 @@
/**
 * @author zzj
 */
@Data
@ApiModel("返攀登记居家隔离数据标题数量")
public class IndexReserveSub {
    @ApiModelProperty("标题值")
@@ -17,40 +17,10 @@
    @ApiModelProperty("总数")
    private Integer allCount;
    @ApiModelProperty("占比")
    private int percent;
    private Integer percent;
    public int getPercent() {
        this.percent=this.num*100/this.allCount;
        return this.percent;
    public Integer getPercent() {
        this.percent=num*100/allCount;
        return  this.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(int percent) {
        this.percent = percent;
    }
}