package cn.reghao.bnt.web.devops.build.model.vo;

import cn.reghao.bnt.web.devops.build.model.po.CompilerConfig;
import cn.reghao.bnt.web.devops.build.model.po.PackerConfig;
import cn.reghao.bnt.web.devops.build.model.po.RepoAuthConfig;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author reghao
 * @date 2023-03-14 10:59:01
 */
@AllArgsConstructor
@Getter
public class BuildConfig {
    private RepoAuthConfig repoAuth;
    private CompilerConfig compiler;
    private PackerConfig packer;

    @Override
    public String toString() {
        return repoAuth.getName() + "-" + compiler.getName() + "-" + packer.getName();
    }
}
