diff --git a/src/main/java/neatlogic/framework/autoexec/dto/resourcecenter/sceneviewfielddeclare/OsSoftwareServiceEnvAppModuleAppSystemVo.java b/src/main/java/neatlogic/framework/autoexec/dto/resourcecenter/sceneviewfielddeclare/OsSoftwareServiceEnvAppModuleAppSystemVo.java new file mode 100644 index 0000000000000000000000000000000000000000..0ef94cb30d37ac0b53712ee644ab4fbad1861dfa --- /dev/null +++ b/src/main/java/neatlogic/framework/autoexec/dto/resourcecenter/sceneviewfielddeclare/OsSoftwareServiceEnvAppModuleAppSystemVo.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2025 深圳极向量科技有限公司 All Rights Reserved. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +package neatlogic.framework.autoexec.dto.resourcecenter.sceneviewfielddeclare; + +import neatlogic.framework.cmdb.annotation.ResourceField; +import neatlogic.framework.cmdb.annotation.ResourceType; +import neatlogic.framework.common.constvalue.ApiParamType; +import neatlogic.framework.restful.annotation.EntityField; +@ResourceType(name = "scence_os_softwareservice_env_appmodule_appsystem", label = "操作系统与软件服务、环境、模块及应用场景", moduleId= "autoexec", functionPathList = {"配置管理/应用清单"}) +public class OsSoftwareServiceEnvAppModuleAppSystemVo { + @EntityField(name = "ID", type = ApiParamType.LONG) + @ResourceField(name = "id") + private Long id; + + @EntityField(name = "名称", type = ApiParamType.STRING) + @ResourceField(name = "name") + private String name; + + @EntityField(name = "类型ID", type = ApiParamType.LONG) + @ResourceField(name = "type_id") + private Long typeId; + @EntityField(name = "类型名称", type = ApiParamType.STRING) + @ResourceField(name = "type_name") + private String typeName; + @EntityField(name = "类型Label", type = ApiParamType.STRING) + @ResourceField(name = "type_label") + private String typeLabel; + + @EntityField(name = "资产id", type = ApiParamType.LONG) + @ResourceField(name = "resource_id") + private Long resourceId; + + @EntityField(name = "环境ID", type = ApiParamType.LONG) + @ResourceField(name = "env_id") + private Long envId; + @EntityField(name = "环境名称", type = ApiParamType.STRING) + @ResourceField(name = "env_name") + private String envName; + @EntityField(name = "环境序号", type = ApiParamType.INTEGER) + @ResourceField(name = "env_seq_no") + private Integer envSeqNo; + + @EntityField(name = "应用模块ID", type = ApiParamType.LONG) + @ResourceField(name = "app_module_id") + private Long appModuleId; + @EntityField(name = "应用模块名", type = ApiParamType.STRING) + @ResourceField(name = "app_module_name") + private String appModuleName; + @EntityField(name = "应用模块简称", type = ApiParamType.STRING) + @ResourceField(name = "app_module_abbr_name") + private String appModuleAbbrName; + + @EntityField(name = "应用系统ID", type = ApiParamType.LONG) + @ResourceField(name = "app_system_id") + private Long appSystemId; + @EntityField(name = "应用系统名", type = ApiParamType.STRING) + @ResourceField(name = "app_system_name") + private String appSystemName; + @EntityField(name = "应用系统简称", type = ApiParamType.STRING) + @ResourceField(name = "app_system_abbr_name") + private String appSystemAbbrName; +} diff --git a/src/main/java/neatlogic/framework/autoexec/dto/resourcecenter/sceneviewfielddeclare/SoftwareServiceOsVo.java b/src/main/java/neatlogic/framework/autoexec/dto/resourcecenter/sceneviewfielddeclare/SoftwareServiceOsVo.java new file mode 100644 index 0000000000000000000000000000000000000000..bf9d20ec54825cd71784fffe0547cbe0eb33e53a --- /dev/null +++ b/src/main/java/neatlogic/framework/autoexec/dto/resourcecenter/sceneviewfielddeclare/SoftwareServiceOsVo.java @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2025 深圳极向量科技有限公司 All Rights Reserved. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +package neatlogic.framework.autoexec.dto.resourcecenter.sceneviewfielddeclare; + +import neatlogic.framework.cmdb.annotation.ResourceField; +import neatlogic.framework.cmdb.annotation.ResourceType; +import neatlogic.framework.common.constvalue.ApiParamType; +import neatlogic.framework.restful.annotation.EntityField; + +@ResourceType(name = "scence_softwareservice_os", label = "软件服务与操作系统场景", moduleId= "autoexec") +public class SoftwareServiceOsVo { + @EntityField(name = "ID", type = ApiParamType.LONG) + @ResourceField(name = "id") + private Long id; + + @EntityField(name = "名称", type = ApiParamType.STRING) + @ResourceField(name = "name") + private String name; + + @EntityField(name = "类型ID", type = ApiParamType.LONG) + @ResourceField(name = "type_id") + private Long typeId; + @EntityField(name = "类型名称", type = ApiParamType.STRING) + @ResourceField(name = "type_name") + private String typeName; + @EntityField(name = "类型Label", type = ApiParamType.STRING) + @ResourceField(name = "type_label") + private String typeLabel; + + @EntityField(name = "系统ID", type = ApiParamType.LONG) + @ResourceField(name = "os_id") + private Long osId; + @EntityField(name = "系统名称", type = ApiParamType.STRING) + @ResourceField(name = "os_name") + private String osName; +} diff --git a/src/main/java/neatlogic/framework/autoexec/dto/resourcecenter/sceneviewfielddeclare/SoftwareServicePortsVo.java b/src/main/java/neatlogic/framework/autoexec/dto/resourcecenter/sceneviewfielddeclare/SoftwareServicePortsVo.java new file mode 100644 index 0000000000000000000000000000000000000000..dc9574715b759b4e114d3ca6e5021ba6ff1231f6 --- /dev/null +++ b/src/main/java/neatlogic/framework/autoexec/dto/resourcecenter/sceneviewfielddeclare/SoftwareServicePortsVo.java @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2025 深圳极向量科技有限公司 All Rights Reserved. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +package neatlogic.framework.autoexec.dto.resourcecenter.sceneviewfielddeclare; + +import neatlogic.framework.cmdb.annotation.ResourceField; +import neatlogic.framework.cmdb.annotation.ResourceType; +import neatlogic.framework.common.constvalue.ApiParamType; +import neatlogic.framework.restful.annotation.EntityField; + +@ResourceType(name = "scence_softwareservice_ports", label = "软件服务服务端口场景", moduleId= "autoexec", functionPathList = {"下载作业剧本节点接口/autoexec/job/phase/nodes/download"}) +@ResourceType(name = "scence_osservice_ports", label = "操作系统服务端口场景", moduleId= "autoexec", functionPathList = {"下载作业剧本节点接口/autoexec/job/phase/nodes/download"}) +public class SoftwareServicePortsVo { + @EntityField(name = "ID", type = ApiParamType.LONG) + @ResourceField(name = "id") + private Long id; + @EntityField(name = "service_ports_id", type = ApiParamType.LONG) + @ResourceField(name = "service_ports_id") + private Long servicePortsId; + @EntityField(name = "名称", type = ApiParamType.STRING) + @ResourceField(name = "name") + private String name; + @EntityField(name = "listen_port", type = ApiParamType.INTEGER) + @ResourceField(name = "listen_port") + private Integer listenPort; +}