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

import com.microservices.system.api.domain.SimpleSysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 测试用例执行结果对象 pms_project_testcase
 *
 * @author xxq
 * @date 2023-11-27
 */
@Data
@ApiModel("测试用例执行结果对象")
public class PmsProjectTestsheetCaseVo {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "测试单ID")
    @NotNull
    private Long projectTestsheetId;

    @ApiModelProperty(value = "测试单名称")
    private String projectTestsheetName;

    @ApiModelProperty(value = "测试用例ID")
    @NotNull
    private Long projectTestcaseId;

    @ApiModelProperty(value = "测试用例对象")
    private PmsProjectTestcaseDetailVo testcaseDataVo;

    @ApiModelProperty(value = "测试单执行结果")
    private Long testStatus;

    @ApiModelProperty(value = "测试单执行人ID")
    private Long testerId;

    @ApiModelProperty(value = "测试单执行人对象")
    private SimpleSysUser testerUser;

    @ApiModelProperty(value = "关联缺陷数")
    private Integer testIssueCount;

}
