| | |
| | | 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; |
| | |
| | | private Integer allCount; |
| | | @ApiModelProperty("占比") |
| | | private Integer percent; |
| | | |
| | | public Integer getPercent() { |
| | | percent=num*100/allCount; |
| | | return percent; |
| | | } |
| | | |
| | | public Integer getKey() { |
| | | return key; |
| | |
| | | this.percent = percent; |
| | | } |
| | | |
| | | public Integer getPercent() { |
| | | return this.percent = num*100/allCount; |
| | | } |
| | | |
| | | } |