package cd.casic.ci.process.dto.resp.resource;

import cd.casic.ci.process.process.dataObject.resource.PipResourceK8S;
import cd.casic.ci.process.process.dataObject.resource.PipResourceMachine;
import cd.casic.ci.process.process.dataObject.resource.PipelineDockerEndpoint;
import lombok.Data;

@Data
public class ResourceResp {
    /**
     * 主键id
     */
    private String id;

    /**
     * docker镜像服务器信息id
     */
    private String dockerId;

    /**
     * k8s服务器信息id
     */
    private String k8sId;

    /**
     * 机器服务器信息id
     */
    private String machineId;

    /**
     * 弹性云服务器信息id
     */
    private String cloudId;

    /**
     * 资源名称
     */
    private String resourceName;

    //创建人id
    private String creator;

    //创建人姓名
    private String creatorName;

    //最后修改人id
    private String updater;

    //最后修改人姓名
    private String updaterName;

    private String remark;

    private PipResourceMachine resourceMachine;

    private PipelineDockerEndpoint dockerEndpoint;

    private PipResourceK8S pipResourceK8S;

}
