| | |
| | | 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; |
| | |
| | | /** |
| | | * @author zzj |
| | | */ |
| | | @Data |
| | | @ApiModel("返攀登记居家隔离数据标题数量") |
| | | public class IndexReserveSub { |
| | | @ApiModelProperty("标题值") |
| | |
| | | @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; |
| | | } |
| | | |
| | | |
| | | } |