指标分组调整
This commit is contained in:
@@ -17,7 +17,7 @@ import java.util.List;
|
||||
@Data
|
||||
public class GroupArrParam {
|
||||
|
||||
@ApiModelProperty("setId")
|
||||
@ApiModelProperty("数据集id")
|
||||
@NotBlank(message = ValidMessage.ID_NOT_BLANK)
|
||||
private String setId;
|
||||
|
||||
@@ -28,8 +28,13 @@ public class GroupArrParam {
|
||||
|
||||
@Data
|
||||
public static class ArrItem {
|
||||
@ApiModelProperty("组id")
|
||||
private String id;
|
||||
@ApiModelProperty("组名称")
|
||||
private String name;
|
||||
@ApiModelProperty("组是否展示 0:不展示 1:展示")
|
||||
private Integer isShow;
|
||||
@ApiModelProperty("指标集合")
|
||||
private List<String> children;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package com.njcn.csdevice.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.njcn.db.bo.BaseEntity;
|
||||
import java.io.Serializable;
|
||||
@@ -25,6 +27,7 @@ public class CsGroup {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(value = "id",type = IdType.INPUT)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.njcn.csdevice.pojo.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -21,6 +22,9 @@ public class CsGroupVO {
|
||||
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("是否展示 0:不展示 1:展示")
|
||||
private Integer isShow;
|
||||
|
||||
private List<CsGroupVO> children = new ArrayList<>();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user