新增图表接口

This commit is contained in:
2025-11-11 20:20:28 +08:00
parent 1817930d47
commit 36aa3cc07b
2 changed files with 58 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ package com.mini.capi.model;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
@Data
public class ChartResult implements Serializable {
@@ -12,10 +13,10 @@ public class ChartResult implements Serializable {
private String type;
private String value;
private BigDecimal value;
public ChartResult(String name, String type, String value) {
public ChartResult(String name, String type, BigDecimal value) {
this.name = name;
this.type = type;
this.value = value;