diff --git a/src/main/java/neatlogic/framework/cmdb/dto/customview/CustomViewVo.java b/src/main/java/neatlogic/framework/cmdb/dto/customview/CustomViewVo.java index 35462ced7271467432dbfe07ec18c412fdd7194a..a5004b0212a778b319626ce39773b73a10183820 100644 --- a/src/main/java/neatlogic/framework/cmdb/dto/customview/CustomViewVo.java +++ b/src/main/java/neatlogic/framework/cmdb/dto/customview/CustomViewVo.java @@ -96,6 +96,9 @@ public class CustomViewVo extends BasePageVo implements Serializable { @JSONField(serialize = false) private List roleUuidList; + @EntityField(name = "引用数量", type = ApiParamType.INTEGER) + private Integer referenceCount; + public Long getStartCiId() { return startCiId; } @@ -557,4 +560,12 @@ public class CustomViewVo extends BasePageVo implements Serializable { public void setRoleUuidList(List roleUuidList) { this.roleUuidList = roleUuidList; } + + public Integer getReferenceCount() { + return referenceCount; + } + + public void setReferenceCount(Integer referenceCount) { + this.referenceCount = referenceCount; + } } diff --git a/src/main/java/neatlogic/framework/cmdb/enums/CmdbFromType.java b/src/main/java/neatlogic/framework/cmdb/enums/CmdbFromType.java index 78dac8546b082cc2d2dec9df07c289d9a3114956..b31428c330d44eab5c49a3b6f89d5d9f4733b6e7 100644 --- a/src/main/java/neatlogic/framework/cmdb/enums/CmdbFromType.java +++ b/src/main/java/neatlogic/framework/cmdb/enums/CmdbFromType.java @@ -23,6 +23,9 @@ import neatlogic.framework.util.$; * @date 2022/3/10 5:14 下午 */ public enum CmdbFromType implements IFromType { + CMDBCI("cmdbci", "cmdb模型"), + CMDBCIATTR("cmdbciattr", "cmdb模型属性"), + CMDBCUSTOMVIEW("cmdbcustomview", "cmdb自定义视图"), RESOURCE_ACCOUNT("resourceaccount", "资产账号"); private final String value;