package com.zt.plat.module.qms.resource.material.controller.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.zt.plat.module.qms.resource.device.controller.vo.DeviceInfomationRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 设备-设备大类 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceProductWithInfomationsRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "2648")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "父ID", example = "5458")
    @ExcelProperty("父ID")
    private Long parentId;

    @Schema(description = "id路径")
    @ExcelProperty("id路径")
    private String idPath;

    @Schema(description = "节点类型,分类|大类", example = "1")
    @ExcelProperty("节点类型,分类|大类")
    private String nodeType;


    @Schema(description = "名称", example = "王五")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "型号")
    @ExcelProperty("型号")
    private String modelNo;

    @Schema(description = "规格")
    @ExcelProperty("规格")
    private String specification;

    @Schema(description = "技术指标")
    @ExcelProperty("技术指标")
    private String parameter;

    @Schema(description = "设备实例列表")
    private List<DeviceInfomationRespVOBySol> children;
}