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

import com.microservices.common.core.utils.bean.BeanUtils;
import com.microservices.pms.project.domain.PmsProjectTestReport;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

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

    /**
     * 报告创建人名
     */
    @ApiModelProperty(value = "报告创建人名")
    private String createBy;

    /**
     * 测试单ID
     */
    @ApiModelProperty(value = "测试单ID")
    private Long testSheetId;

    /**
     * 项目ID
     */
    @ApiModelProperty(value = "项目ID")
    private Long pmsProjectId;

    public PmsProjectTestReport toPmsProjectTestReport() {
        PmsProjectTestReport target = new PmsProjectTestReport();
        BeanUtils.copyProperties(this, target);
        return target;
    }
}
