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

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

import javax.validation.constraints.Pattern;
import java.util.Date;

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

    private Long id;

    /**
     * 用例标题
     */
    @ApiModelProperty(value = "测试报告名称")
    private String name;

    /**
     * 测试单IDs
     */
    @ApiModelProperty(value = "测试单ID,多个用逗号隔开")
    @Pattern(regexp = "^(\\d,?){0,4}\\d$", message = "最多允许关联5个测试单")
    private String testSheetIds;

    @ApiModelProperty(value = "测试报告总结")
    private String summary;

    @ApiModelProperty(value = "测试开始时间")
    private Date startTime;

    @ApiModelProperty(value = "测试结束时间")
    private Date endTime;

    @ApiModelProperty(value = "测试报告负责人id")
    private Long reportAssigneeId;

}
