package com.moral.api.pojo.dto.dataDisplay; import lombok.Data; import org.springframework.util.ObjectUtils; import java.math.BigDecimal; /** * Description //todo * * @author swb * @ClassName HeatMapDTO * @date 2023.12.11 16:11 */ @Data public class HeatMapDTO { /** * 数据时间 */ private String time; /** * 纬度 */ private Double lat; /** * 经度 */ private Double lng; /** * 数据 */ private Double count; private String mac; private String name; private Integer groupId; // private Double sum; public Double getCount(){ Double count = this.count; if (ObjectUtils.isEmpty(count)){ count= 0.0; return count; } return count; } }