forked from github/dataease
perf(X-Pack): 阈值告警表单信息回填
This commit is contained in:
parent
3d7c2cbce0
commit
2235f22f45
@ -1,5 +1,7 @@
|
|||||||
package io.dataease.api.threshold.dto;
|
package io.dataease.api.threshold.dto;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||||
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
@ -12,6 +14,7 @@ public class ThresholdCreator extends BaseReciDTO implements Serializable {
|
|||||||
@Serial
|
@Serial
|
||||||
private static final long serialVersionUID = -4085895087749460947L;
|
private static final long serialVersionUID = -4085895087749460947L;
|
||||||
|
|
||||||
|
@JsonSerialize(using= ToStringSerializer.class)
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
@ -22,10 +25,12 @@ public class ThresholdCreator extends BaseReciDTO implements Serializable {
|
|||||||
|
|
||||||
private String rateValue;
|
private String rateValue;
|
||||||
|
|
||||||
|
@JsonSerialize(using= ToStringSerializer.class)
|
||||||
private Long resourceId;
|
private Long resourceId;
|
||||||
|
|
||||||
private String resourceType;
|
private String resourceType;
|
||||||
|
|
||||||
|
@JsonSerialize(using= ToStringSerializer.class)
|
||||||
private Long chartId;
|
private Long chartId;
|
||||||
|
|
||||||
private String chartType;
|
private String chartType;
|
||||||
|
Loading…
Reference in New Issue
Block a user