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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 测试报告输入对象
 *
 * @author wanjia
 * @date 2023-12-14
 */
@Data
@ApiModel("测试报告输入对象")
public class PmsProjectTestReportInputVo {

    /**
     * 用例标题
     */
    @ApiModelProperty(value = "测试报告名称", required = true)
    @NotNull
    @Size(min = 1, max = 100)
    private String name;

    /**
     * 测试单IDs
     */
    @ApiModelProperty(value = "测试单ID,多个用逗号隔开", required = true)
    @NotNull
    private String testSheetIds;

    /**
     * 关联项目ID
     */
    @ApiModelProperty(value = "关联项目ID", required = true)
    @NotNull
    private Long pmsProjectId;

}
