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_scene_steps_report
 * 
 * @author test
 * @date 2025-04-24
 */
public class UiSceneStepsReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 报告id */
    @Excel(name = "报告id")
    private Long reportId;

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

    /** 日志 */
    @Excel(name = "日志")
    private String logInfo;

    /** 执行类型 1成功 0未执行 2执行失败 */
    @Excel(name = "执行类型 1成功 0未执行 2执行失败")
    private String executionFlag;

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

    /** 截图 */
    @Excel(name = "截图")
    private String screenshot;

    /** 断言json */
    @Excel(name = "断言json")
    private String assertionJson;

    /** 数据提取json */
    @Excel(name = "数据提取json")
    private String extractionDataJson;

    /** 场景步骤序号 */
    @Excel(name = "场景步骤序号")
    private Integer orderNumber;

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

    public Long getId() 
    {
        return id;
    }
    public void setReportId(Long reportId) 
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLogInfo(String logInfo) 
    {
        this.logInfo = logInfo;
    }

    public String getLogInfo() 
    {
        return logInfo;
    }
    public void setExecutionFlag(String executionFlag) 
    {
        this.executionFlag = executionFlag;
    }

    public String getExecutionFlag() 
    {
        return executionFlag;
    }
    public void setTake(String take) 
    {
        this.take = take;
    }

    public String getTake() 
    {
        return take;
    }
    public void setScreenshot(String screenshot) 
    {
        this.screenshot = screenshot;
    }

    public String getScreenshot() 
    {
        return screenshot;
    }
    public void setAssertionJson(String assertionJson) 
    {
        this.assertionJson = assertionJson;
    }

    public String getAssertionJson() 
    {
        return assertionJson;
    }
    public void setExtractionDataJson(String extractionDataJson) 
    {
        this.extractionDataJson = extractionDataJson;
    }

    public String getExtractionDataJson() 
    {
        return extractionDataJson;
    }
    public void setOrderNumber(Integer orderNumber)
    {
        this.orderNumber = orderNumber;
    }

    public Integer getOrderNumber()
    {
        return orderNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reportId", getReportId())
            .append("name", getName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("logInfo", getLogInfo())
            .append("executionFlag", getExecutionFlag())
            .append("take", getTake())
            .append("screenshot", getScreenshot())
            .append("assertionJson", getAssertionJson())
            .append("extractionDataJson", getExtractionDataJson())
            .append("orderNumber", getOrderNumber())
            .toString();
    }
}
