package com.njcn.csdevice.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;

/**
 * 类的介绍：方案树、测试项树
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2024/4/2 10:23
 */
@Data
public class RecordTreeVo {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("测试项数据")
    private List<Children> children;

    @Data
    public static class Children{

        @ApiModelProperty("id")
        private String id;

        @ApiModelProperty("名称")
        private String name;

        @ApiModelProperty("父级ID")
        private String pId;

        @ApiModelProperty("测试项开始时间")
        private String startTime;

        @ApiModelProperty("测试项结束时间")
        private String endTime;
    }

}
