package com.microservices.pms.pipeline.domain.vo;

import com.alibaba.fastjson2.JSONObject;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 流水线对象 pms_ci_pipelines
 * 
 * @author wanjia
 * @date 2024-03-02
 */
@Data
@ApiModel("流水线图形json构建yaml输入对象")
public class PmsCiPipelineBuildYamlInputVo
{

    /** 流水线名称 */
    @ApiModelProperty(value = "流水线名称")
    @NotNull
    private String pipelineName;

    @ApiModelProperty(value = "流水线json")
    @NotNull
    private JSONObject pipelineJson;

    @ApiModelProperty(value = "分支名称")
    @JsonIgnore
    private String branch;
}
