forked from github/dataease
fix: id序列化
This commit is contained in:
parent
d198844b7e
commit
ba2b063341
@ -1,5 +1,7 @@
|
||||
package io.dataease.api.chart.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@ -7,6 +9,7 @@ import lombok.Data;
|
||||
*/
|
||||
@Data
|
||||
public class ChartDimensionDTO {
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
private String value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user