package com.test.test.domain;

import com.test.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.test.common.annotation.Excel;

/**
 * ui报告对象 ui_report
 * 
 * @author test
 * @date 2025-04-24
 */
public class UiReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 报告类型 */
    @Excel(name = "报告类型")
    private String reportType;

    /** 触发方式 */
    @Excel(name = "触发方式")
    private String triggerMode;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 是否删除 0否 1是 */
    private Integer delFlag;

    /** 状态  1running 2error 3 success 4stopped 5 pending 6 Timeout */
    @Excel(name = "状态  1running 2error 3 success 4stopped 5 pending 6 Timeout")
    private Integer status;

    /** 耗时 */
    @Excel(name = "耗时")
    private String take;

    /** 失败率 */
    @Excel(name = "失败率")
    private String faiiRate;

    /** 成功断言 */
    @Excel(name = "成功断言")
    private String successAssertion;

    /** 场景数 */
    @Excel(name = "场景数")
    private Integer scenesNumber;

    /** 场景成功数 */
    @Excel(name = "场景成功数")
    private Integer scenesSucceedNumber;

    /** 场景失败数 */
    @Excel(name = "场景失败数")
    private Integer scenesErrorNumber;

    /** 场景未执行数 */
    @Excel(name = "场景未执行数")
    private Integer scenesNotNumber;

    /** 步骤数 */
    @Excel(name = "步骤数")
    private Integer stepsNumber;

    /** 步骤成功数 */
    @Excel(name = "步骤成功数")
    private Integer stepsSucceedNumber;

    /** 步骤失败数 */
    @Excel(name = "步骤失败数")
    private Integer stepsErrorNumber;

    /** 步骤未执行数 */
    @Excel(name = "步骤未执行数")
    private Integer stepsNotNumber;


    private String consoleStr;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setReportType(String reportType) 
    {
        this.reportType = reportType;
    }

    public String getReportType() 
    {
        return reportType;
    }
    public void setTriggerMode(String triggerMode) 
    {
        this.triggerMode = triggerMode;
    }

    public String getTriggerMode() 
    {
        return triggerMode;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setTake(String take) 
    {
        this.take = take;
    }

    public String getTake() 
    {
        return take;
    }
    public void setFaiiRate(String faiiRate) 
    {
        this.faiiRate = faiiRate;
    }

    public String getFaiiRate() 
    {
        return faiiRate;
    }
    public void setSuccessAssertion(String successAssertion) 
    {
        this.successAssertion = successAssertion;
    }

    public String getSuccessAssertion() 
    {
        return successAssertion;
    }
    public void setScenesNumber(Integer scenesNumber)
    {
        this.scenesNumber = scenesNumber;
    }

    public Integer getScenesNumber()
    {
        return scenesNumber;
    }
    public void setScenesSucceedNumber(Integer scenesSucceedNumber)
    {
        this.scenesSucceedNumber = scenesSucceedNumber;
    }

    public Integer getScenesSucceedNumber()
    {
        return scenesSucceedNumber;
    }
    public void setScenesErrorNumber(Integer scenesErrorNumber)
    {
        this.scenesErrorNumber = scenesErrorNumber;
    }

    public Integer getScenesErrorNumber()
    {
        return scenesErrorNumber;
    }
    public void setScenesNotNumber(Integer scenesNotNumber)
    {
        this.scenesNotNumber = scenesNotNumber;
    }

    public Integer getScenesNotNumber()
    {
        return scenesNotNumber;
    }
    public void setStepsNumber(Integer stepsNumber)
    {
        this.stepsNumber = stepsNumber;
    }

    public Integer getStepsNumber()
    {
        return stepsNumber;
    }
    public void setStepsSucceedNumber(Integer stepsSucceedNumber)
    {
        this.stepsSucceedNumber = stepsSucceedNumber;
    }

    public Integer getStepsSucceedNumber()
    {
        return stepsSucceedNumber;
    }
    public void setStepsErrorNumber(Integer stepsErrorNumber)
    {
        this.stepsErrorNumber = stepsErrorNumber;
    }

    public Integer getStepsErrorNumber()
    {
        return stepsErrorNumber;
    }
    public void setStepsNotNumber(Integer stepsNotNumber)
    {
        this.stepsNotNumber = stepsNotNumber;
    }

    public Integer getStepsNotNumber()
    {
        return stepsNotNumber;
    }


    public String getConsoleStr() {
        return consoleStr;
    }

    public void setConsoleStr(String consoleStr) {
        this.consoleStr = consoleStr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("reportType", getReportType())
            .append("triggerMode", getTriggerMode())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("status", getStatus())
            .append("take", getTake())
            .append("faiiRate", getFaiiRate())
            .append("successAssertion", getSuccessAssertion())
            .append("scenesNumber", getScenesNumber())
            .append("scenesSucceedNumber", getScenesSucceedNumber())
            .append("scenesErrorNumber", getScenesErrorNumber())
            .append("scenesNotNumber", getScenesNotNumber())
            .append("stepsNumber", getStepsNumber())
            .append("stepsSucceedNumber", getStepsSucceedNumber())
            .append("stepsErrorNumber", getStepsErrorNumber())
            .append("stepsNotNumber", getStepsNotNumber())
            .toString();
    }
}
