package com.ruoyi.account.dto;
|
|
import com.mchange.v1.util.ListUtils;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.util.ArrayList;
|
import java.util.List;
|
|
/**
|
* @author :yys
|
* @date : 2026/1/17 13:19
|
*/
|
@Data
|
public class DeviceTypeDistributionVO {
|
|
private Integer totalCount = 0; // 设备类型总数
|
|
// 饼图和折线图的分类(设备类型)
|
private List<String> categories = new ArrayList<>();
|
// 各类型设备的数量
|
private List<BigDecimal> countData = new ArrayList<>();
|
// 各类型设备的总金额
|
private List<BigDecimal> amountData = new ArrayList<>();
|
// 明细列表,包含类型、数量、金额
|
private List<DeviceTypeDetail> details = new ArrayList<>();
|
|
}
|