package cn.reghao.bnt.web.devops.app.model.dto;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import jakarta.validation.constraints.NotBlank;

/**
 * @author reghao
 * @date 2023-03-10 15:00:20
 */
@NoArgsConstructor
@Setter
@Getter
public class AppConfigUpdateDto {
    private String appId;
    @NotBlank(message = "必须指定应用名字")
    private String appName;
    @NotBlank(message = "必须指定仓库分支")
    private String repoBranch;

    // buildConfig
    @NotBlank(message = "必须指定仓库认证")
    private String repoAuthConfig;
    @NotBlank(message = "必须指定编译配置")
    private String compilerConfig;
    @NotBlank(message = "必须指定打包配置")
    private String packerConfig;
    private String dockerfile;
}
