//package com.qqchen.deploy.backend.workflow.dto.definition.node.fromVariables_remove;
//
//import com.qqchen.deploy.backend.workflow.annotation.SchemaProperty;
//import com.qqchen.deploy.backend.workflow.annotation.SchemaPropertyDataSource;
//import com.qqchen.deploy.backend.workflow.annotation.SchemaPropertyDataSourceParam;
//import lombok.Data;
//import lombok.EqualsAndHashCode;
//
//@Data
//@EqualsAndHashCode(callSuper = true)
//public class DeployNodeFormVariables extends BaseNodeFormVariables {
//
//    @SchemaProperty(
//        title = "部署类型",
//        description = "部署类型",
//        required = true,
//        enumValues = {
//            "JENKINS",
//            "NATIVE",
//        },
//        enumNames = {
//            "Jenkins部署",
//            "本地部署"
//        },
//        order = 1
//    )
//    private String gatewayType;
//
//
//    @SchemaProperty(
//        title = "绑定三方Jenkins系统",
//        description = "请选择三方Jenkins系统",
//        required = true,
//        dataSource = @SchemaPropertyDataSource(
//            type = "api",
//            url = "/api/v1/external-system/list?type=JENKINS",
//            valueField = "id",
//            labelField = "name"
//        ),
//        order = 2
//    )
//    private String externalSystemId;
//
//
//    @SchemaProperty(
//        title = "绑定Jenkins视图",
//        description = "Jenkins视图",
//        required = true,
//        dataSource = @SchemaPropertyDataSource(
//            type = "api",
//            url = "/api/v1/jenkins-view/list",
//            valueField = "id",
//            labelField = "viewName",
//            dependsOn = {"externalSystemId"},
//            params = {
//                @SchemaPropertyDataSourceParam(name = "externalSystemId", value = "${externalSystemId}")
//            }
//        ),
//        order = 3
//    )
//    private String viewId;
//
//
//    @SchemaProperty(
//        title = "绑定Jenkins任务",
//        description = "Jenkins任务",
//        required = true,
//        dataSource = @SchemaPropertyDataSource(
//            type = "api",
//            url = "/api/v1/jenkins-job/list",
//            valueField = "id",
//            labelField = "jobName",
//            dependsOn = {"externalSystemId", "viewId"},
//            params = {
//                @SchemaPropertyDataSourceParam(name = "externalSystemId", value = "${externalSystemId}"),
//                @SchemaPropertyDataSourceParam(name = "viewId", value = "${viewId}")
//            }
//        ),
//        order = 4
//    )
//    private String jobId;
//
//}
