package com.qqchen.deploy.backend.workflow.dto.inputmapping;

import lombok.Data;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.NotBlank;

/**
 * Jenkins构建节点输入映射
 *
 * @author qqchen
 * @since 2025-10-22
 */
@Data
public class JenkinsBuildInputMapping {
    
    /**
     * Jenkins服务器ID
     */
    @NotNull(message = "Jenkins服务器ID不能为空")
    private Integer jenkinsServerId;
    
    /**
     * 项目名称
     */
    @NotBlank(message = "项目名称不能为空")
    private String project;
}

